From: Luke S. <lsc...@us...> - 2002-10-11 12:24:30
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv29876/src Modified Files: conversation.c Log Message: make an error display if you try to send a message when not connected (thanks Patrick (Zyk) Aussems) Index: conversation.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/conversation.c,v retrieving revision 1.391 retrieving revision 1.392 diff -u -d -r1.391 -r1.392 --- conversation.c 11 Oct 2002 03:13:57 -0000 1.391 +++ conversation.c 11 Oct 2002 12:24:25 -0000 1.392 @@ -1376,9 +1376,10 @@ else if (err == -ENOTCONN) debug_printf("Not yet connected\n"); #else - else if (err == SOCKET_ERROR) - if( WSAENOTCONN == WSAGetLastError() ) + else if (err == SOCKET_ERROR) { + if (WSAENOTCONN == WSAGetLastError()) debug_printf("Not yet connected\n"); + } #endif else do_error_dialog(_("Unable to send message"), NULL, GAIM_ERROR); |