dammit, learn to spell
[citadel.git] / citadel / server / modules / xmpp / xmpp_presence.c
index 0658a141c7cde383788e283bd5c19768abc67aa6..ff0d1eb2b811c50ed5afa2c4a0e2909a2703e8db 100644 (file)
@@ -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;
                }