changeset 3186:51e4fb38a140

[gaim-migrate @ 3203] (18:29:07) psypete: i like beefy dogs committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 26 Apr 2002 22:32:37 +0000
parents f2110584bd01
children 01279615a5fe
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Fri Apr 26 22:18:07 2002 +0000
+++ b/src/protocols/oscar/oscar.c	Fri Apr 26 22:32:37 2002 +0000
@@ -2521,7 +2521,8 @@
 	debug_printf("info%s: perms = %d, type = %x, length = %d, val = %s\n",
 			change ? " change" : "", perms, type, length, str ? val : "(not string)");
 
-	if ((type == 0x0011) && str) {
+	/* XXX Do something for other types too. */
+	if ((type == 0x0011) && str && length) {
 		g_snprintf(buf, sizeof(buf), "The email address for %s is %s", gc->username, val);
 		do_error_dialog(buf, "Email");
 	}