diff options
author | chatty | 1999-01-12 11:19:50 +0000 |
---|---|---|
committer | chatty | 1999-01-12 11:19:50 +0000 |
commit | 488653464aa28ad1a8f033d6670850d8077ab032 (patch) | |
tree | a13011d703cc42c54cfe3dd962ee9972e0494d98 /src/ivysocket.c | |
parent | 8505e653a930283323ef213aca4d273e88ed563d (diff) | |
download | ivy-c-488653464aa28ad1a8f033d6670850d8077ab032.zip ivy-c-488653464aa28ad1a8f033d6670850d8077ab032.tar.gz ivy-c-488653464aa28ad1a8f033d6670850d8077ab032.tar.bz2 ivy-c-488653464aa28ad1a8f033d6670850d8077ab032.tar.xz |
Just a bit of cleaning up tabulations.
Diffstat (limited to 'src/ivysocket.c')
-rw-r--r-- | src/ivysocket.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/ivysocket.c b/src/ivysocket.c index 7fe8870..99d145f 100644 --- a/src/ivysocket.c +++ b/src/ivysocket.c @@ -340,15 +340,17 @@ Client SocketConnect( char * host, unsigned short port, void (*handle_delete)(Client client, void *data) ) { -struct hostent *rhost; + struct hostent *rhost; -if ((rhost = gethostbyname( host )) == NULL){ - fprintf(stderr, "Erreur %s Calculateur inconnu !\n",host); - return NULL; - }; -return SocketConnectAddr( (struct in_addr*)(rhost->h_addr), port, data, interpretation, handle_delete); + if ((rhost = gethostbyname( host )) == NULL) { + fprintf(stderr, "Erreur %s Calculateur inconnu !\n",host); + return NULL; + } + return SocketConnectAddr( (struct in_addr*)(rhost->h_addr), port, data, interpretation, handle_delete); } + + Client SocketConnectAddr( struct in_addr * addr, unsigned short port, void *data, SocketInterpretation interpretation, |