diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-05-11 20:02:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-05-11 20:02:42 +0000 |
commit | 34b47c3828ca8e6d9dcddb2886744fb470e4276c (patch) | |
tree | c6e8881cf59afd20bc6090bb7a2416c0ec1fd1cd /sim/common/dv-sockser.c | |
parent | 1f84b6196ba7218766be02547881a5c2165be3ae (diff) | |
download | binutils-34b47c3828ca8e6d9dcddb2886744fb470e4276c.zip binutils-34b47c3828ca8e6d9dcddb2886744fb470e4276c.tar.gz binutils-34b47c3828ca8e6d9dcddb2886744fb470e4276c.tar.bz2 |
sim: fix func call style (space before paren)
Committed this as obvious:
-foo(...);
+foo (...);
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/common/dv-sockser.c')
-rw-r--r-- | sim/common/dv-sockser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/dv-sockser.c b/sim/common/dv-sockser.c index ef249e6..ae65585 100644 --- a/sim/common/dv-sockser.c +++ b/sim/common/dv-sockser.c @@ -175,12 +175,12 @@ dv_sockser_init (SIM_DESC sd) } sockaddr.sin_family = PF_INET; - sockaddr.sin_port = htons(port); + sockaddr.sin_port = htons (port); memcpy (&sockaddr.sin_addr.s_addr, hostent->h_addr, sizeof (struct in_addr)); tmp = 1; - if (setsockopt (sockser_listen_fd, SOL_SOCKET, SO_REUSEADDR, (void*)& tmp, sizeof(tmp)) < 0) + if (setsockopt (sockser_listen_fd, SOL_SOCKET, SO_REUSEADDR, (void*)& tmp, sizeof (tmp)) < 0) { sim_io_eprintf (sd, "sockser init: unable to set SO_REUSEADDR: %s\n", strerror (errno)); |