From 488653464aa28ad1a8f033d6670850d8077ab032 Mon Sep 17 00:00:00 2001 From: chatty Date: Tue, 12 Jan 1999 11:19:50 +0000 Subject: Just a bit of cleaning up tabulations. --- src/ivysocket.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/ivysocket.c') 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, -- cgit v1.1