diff src/protocols/zephyr/zephyr.c @ 4682:a4498ce61bf6

[gaim-migrate @ 4993] This was getting annoying committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 09 Mar 2003 20:56:16 +0000
parents 2778ebd04b63
children 283fb289c510
line wrap: on
line diff
--- a/src/protocols/zephyr/zephyr.c	Sun Mar 09 08:20:51 2003 +0000
+++ b/src/protocols/zephyr/zephyr.c	Sun Mar 09 20:56:16 2003 +0000
@@ -387,7 +387,7 @@
 					/* If the person is in the default Realm, then strip the 
 					   Realm from the sender field */
 					sendertmp = g_strdup_printf("%s",notice.z_sender);
-					if (realmptr = strchr(sendertmp,'@')) {
+					if ((realmptr = strchr(sendertmp,'@')) != NULL) {
 						realmptr++;
 						if (!g_strcasecmp(realmptr,ZGetRealm())) {
 							realmptr--;