summaryrefslogtreecommitdiff
path: root/src/ivy.c
diff options
context:
space:
mode:
authorchatty1998-12-22 12:49:35 +0000
committerchatty1998-12-22 12:49:35 +0000
commit575471fc017dcbccfc767d062facb61ca5835c5a (patch)
tree2ae8be53c8f971216155326c96f26412fafee766 /src/ivy.c
parent6e2c8f03ed0fa1c30d4571231f1dda457d3d6521 (diff)
downloadivy-c-575471fc017dcbccfc767d062facb61ca5835c5a.zip
ivy-c-575471fc017dcbccfc767d062facb61ca5835c5a.tar.gz
ivy-c-575471fc017dcbccfc767d062facb61ca5835c5a.tar.bz2
ivy-c-575471fc017dcbccfc767d062facb61ca5835c5a.tar.xz
Corrected bogus call to SocketGetRemote in ClientDelete
Diffstat (limited to 'src/ivy.c')
-rw-r--r--src/ivy.c3
1 files changed, 2 insertions, 1 deletions
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