diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-12-06 01:39:33 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-12-06 01:39:33 +0100 |
commit | 6533e74370acfa51653608b1dc5e1292c72970c9 (patch) | |
tree | dbd3b13cb10df6f341a82a5a449fcf5a4b9d9b66 /socket_local.c | |
parent | a583bb24fb23728c9c4ed6c6c573d526ab654c49 (diff) | |
download | crypto-6533e74370acfa51653608b1dc5e1292c72970c9.zip crypto-6533e74370acfa51653608b1dc5e1292c72970c9.tar.gz |
remove extra spaces
Diffstat (limited to 'socket_local.c')
-rw-r--r-- | socket_local.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/socket_local.c b/socket_local.c index b676ee5..7ad6dcf 100644 --- a/socket_local.c +++ b/socket_local.c @@ -9,7 +9,7 @@ int socket_local4(int s,char ip[4],u16 *port) { struct sockaddr_in sa; unsigned int dummy = sizeof sa; - + if (getsockname(s,(struct sockaddr *) &sa,&dummy) == -1) return -1; memcpy(ip,(char *) &sa.sin_addr,4); u16_unpack_big((char *) &sa.sin_port,port); |