X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserver%2Fmodules%2Fxmpp%2Fxmpp_presence.c;h=ff0d1eb2b811c50ed5afa2c4a0e2909a2703e8db;hb=531c6449f1d765f5c871ba9d20a13e104d1f5529;hp=0658a141c7cde383788e283bd5c19768abc67aa6;hpb=6ce0d284993145869a896e5790e9b8250203f1c7;p=citadel.git diff --git a/citadel/server/modules/xmpp/xmpp_presence.c b/citadel/server/modules/xmpp/xmpp_presence.c index 0658a141c..ff0d1eb2b 100644 --- a/citadel/server/modules/xmpp/xmpp_presence.c +++ b/citadel/server/modules/xmpp/xmpp_presence.c @@ -219,12 +219,12 @@ void xmpp_fetch_mortuary_backend(long msgnum, void *userdata) { /* now add anyone we find into the hashlist */ /* skip past the headers */ - ptr = strstr(msg->cm_fields[eMesageText], "\n\n"); + ptr = strstr(msg->cm_fields[eMessageText], "\n\n"); if (ptr != NULL) { ptr += 2; } else { - ptr = strstr(msg->cm_fields[eMesageText], "\n\r\n"); + ptr = strstr(msg->cm_fields[eMessageText], "\n\r\n"); if (ptr != NULL) { ptr += 3; }