# HG changeset patch # User Nathan Walp # Date 1047243376 0 # Node ID a4498ce61bf672961806097bfa81dcc4d88a97d3 # Parent efa194b5caaf044537a4d0dfeeaab2078df1e113 [gaim-migrate @ 4993] This was getting annoying committer: Tailor Script diff -r efa194b5caaf -r a4498ce61bf6 src/protocols/zephyr/zephyr.c --- 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--;