/*
* $Id$
*
- * Citadel/UX message support routines
+ * Citadel message support routines
* see copyright.txt for copyright information
*/
We have to load up messages until we find one by us */
char buf[SIZ];
int founda = 0;
- struct ctdlipcmessage *msg;
+ struct ctdlipcmessage *msg = NULL;
/* 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;
}