]> code.citadel.org Git - citadel.git/blobdiff - citadel/messages.c
* Fix missing arg in m<Y> next rewrite.
[citadel.git] / citadel / messages.c
index 160be8632ff950a771e251f2578ea5584b90bbcc..108638879d493010a9f05e6a5709a3f75ca39d69 100644 (file)
@@ -1821,7 +1821,7 @@ RMSGREAD: scr_flush();
                 
                /* read the header so we can get 'from=' */
                r = CtdlIPCGetSingleMessage(ipc, msg_arr[finda], 1, 0, &msg, buf);
-               if (!strncasecmp(msg->author, fullname)) {
+               if (!strncasecmp(msg->author, fullname, sizeof(fullname))) {
                        a = lasta; /* meesa current */
                        founda = 1;
                }