author | mjm <mjm> | 2002-12-28 15:28:49 (UTC) |
---|---|---|
committer | mjm <mjm> | 2002-12-28 15:28:49 (UTC) |
commit | 94ac3da47b0b36316cff680d319dab23c9339308 (patch) (side-by-side diff) | |
tree | 5161a4da84fb05c53fd5225be5674ab75087ff3f /noncore/net/wellenreiter/libwellenreiter/source/wl_sock.cc | |
parent | 0ab4ac99bead80d8af18988045748fd2b3dd3a15 (diff) | |
download | opie-94ac3da47b0b36316cff680d319dab23c9339308.zip opie-94ac3da47b0b36316cff680d319dab23c9339308.tar.gz opie-94ac3da47b0b36316cff680d319dab23c9339308.tar.bz2 |
cleanup
Diffstat (limited to 'noncore/net/wellenreiter/libwellenreiter/source/wl_sock.cc') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/libwellenreiter/source/wl_sock.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/wl_sock.cc b/noncore/net/wellenreiter/libwellenreiter/source/wl_sock.cc index 4942fba..db6b7b8 100644 --- a/noncore/net/wellenreiter/libwellenreiter/source/wl_sock.cc +++ b/noncore/net/wellenreiter/libwellenreiter/source/wl_sock.cc @@ -15,3 +15,3 @@ int wl_setupsock(const char *host, int port) - if((sock=socket(AF_INET, SOCK_DGRAM, 0)) < 0) + if((sock = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { @@ -55,3 +55,3 @@ int wl_send(const char *host, int port, const char *string, ...) /* Setup socket */ - if((sock=socket(AF_INET, SOCK_DGRAM, 0)) < 0) + if((sock = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { @@ -78,3 +78,3 @@ int wl_recv(int *sock, char *out, int maxlen) struct sockaddr_in *cliaddr; - socklen_t len=sizeof(struct sockaddr); + socklen_t len = sizeof(struct sockaddr); char retval[3]; |