]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/vcard/serv_vcard.c
* check_get() clang was indeed right, this ';' is a bug. dict_tcp syntax errors would...
[citadel.git] / citadel / modules / vcard / serv_vcard.c
index 5133fce5449bb7d6382b0bd1b55f69ad496ca57e..da6418c5783d0243fe9ab3e77e3fcdec04bc7488 100644 (file)
@@ -69,7 +69,6 @@
 #include "config.h"
 #include "control.h"
 #include "user_ops.h"
-#include "policy.h"
 #include "database.h"
 #include "msgbase.h"
 #include "internet_addressing.h"
@@ -1126,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];