changeset 11461:8e749b7c8ccc

[gaim-migrate @ 13701] printf("%s", NULL) is bad committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 06 Sep 2005 14:28:34 +0000
parents d68ca756e983
children a147a8a05678
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Tue Sep 06 05:39:53 2005 +0000
+++ b/src/protocols/oscar/oscar.c	Tue Sep 06 14:28:34 2005 +0000
@@ -7349,14 +7349,14 @@
 	name = g_hash_table_lookup(data, "room");
 	exchange = g_hash_table_lookup(data, "exchange");
 
-	gaim_debug_info("oscar",
-			   "Attempting to join chat room %s.\n", name);
-
 	if ((name == NULL) || (*name == '\0')) {
 		gaim_notify_error(gc, NULL, _("Invalid chat name specified."), NULL);
 		return;
 	}
 
+	gaim_debug_info("oscar",
+			   "Attempting to join chat room %s.\n", name);
+
 	if ((cur = aim_getconn_type(od->sess, AIM_CONN_TYPE_CHATNAV))) {
 		gaim_debug_info("oscar",
 				   "chatnav exists, creating room\n");