From 575471fc017dcbccfc767d062facb61ca5835c5a Mon Sep 17 00:00:00 2001 From: chatty Date: Tue, 22 Dec 1998 12:49:35 +0000 Subject: Corrected bogus call to SocketGetRemote in ClientDelete --- src/ivy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ivy.c') diff --git a/src/ivy.c b/src/ivy.c index 3759908..c77acbb 100644 --- a/src/ivy.c +++ b/src/ivy.c @@ -451,9 +451,10 @@ static void ClientDelete( Client client, void *data ) { (*application_callback)( clnt, application_user_data, BusApplicationDisconnected ); } - SocketGetRemote( client, &remotehost, &remoteport ); #ifdef DEBUG + /* probably bogus call, but this is for debug only anyway */ + SocketGetRemote( client, &remotehost, &remoteport ); printf("Deconnexion de %s:%hu\n", remotehost, remoteport ); #endif //DEBUG -- cgit v1.1