changeset 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 efa194b5caaf
children dfd1fe914da2
files src/protocols/zephyr/zephyr.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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--;