* check_get() clang was indeed right, this ';' is a bug. dict_tcp syntax errors would...
authorWilfried Göesgens <willi@citadel.org>
Fri, 14 May 2010 17:52:32 +0000 (17:52 +0000)
committerWilfried Göesgens <willi@citadel.org>
Fri, 14 May 2010 17:52:32 +0000 (17:52 +0000)
citadel/modules/vcard/serv_vcard.c

index fdd41ef64642b837deb1b1eb37ef17aa7de53069..da6418c5783d0243fe9ab3e77e3fcdec04bc7488 100644 (file)
@@ -1125,7 +1125,7 @@ void check_get(void) {
        CtdlLogPrintf(CTDL_INFO, ": %s\n", cmdbuf);
        while (strlen(cmdbuf) < 3) strcat(cmdbuf, " ");
 
-       if (strcasecmp(cmdbuf, "GET "));
+       if (strcasecmp(cmdbuf, "GET ")==0)
        {
                struct recptypes *rcpt;
                char *argbuf = &cmdbuf[4];