diff src/conversation.c @ 3641:e2391338c394

[gaim-migrate @ 3765] make an error display if you try to send a message when not connected (thanks Patrick (Zyk) Aussems) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 11 Oct 2002 12:24:25 +0000
parents 9682c0e022c6
children 0f468c22c702
line wrap: on
line diff
--- 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);