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_conn.c | |
parent | a583bb24fb23728c9c4ed6c6c573d526ab654c49 (diff) | |
download | crypto-6533e74370acfa51653608b1dc5e1292c72970c9.zip crypto-6533e74370acfa51653608b1dc5e1292c72970c9.tar.gz |
remove extra spaces
Diffstat (limited to 'socket_conn.c')
-rw-r--r-- | socket_conn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/socket_conn.c b/socket_conn.c index 0d3b7f9..f7317d3 100644 --- a/socket_conn.c +++ b/socket_conn.c @@ -10,12 +10,12 @@ int socket_connect4(int s,const char ip[4],u16 port) { struct sockaddr_in sa; - + memset(&sa,0,sizeof sa); sa.sin_family = AF_INET; u16_pack_big((char *) &sa.sin_port,port); memcpy((char *) &sa.sin_addr,ip,4); - + return connect(s,(struct sockaddr *) &sa,sizeof sa); } |