Fri, 11 Oct 2002 12:24:25 +0000
[gaim-migrate @ 3765]
make an error display if you try to send a message when not connected (thanks Patrick (Zyk) Aussems)
committer: Luke Schierer <lschiere@pidgin.im>
| src/conversation.c | file | annotate | diff | comparison | revisions |
--- a/src/conversation.c Fri Oct 11 05:39:37 2002 +0000 +++ b/src/conversation.c Fri Oct 11 12:24:25 2002 +0000 @@ -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);