From 290d27d076210c81b52fc038553d72678b2d08d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Fri, 14 May 2010 17:52:32 +0000 Subject: [PATCH] * check_get() clang was indeed right, this ';' is a bug. dict_tcp syntax errors would have been ignored. --- citadel/modules/vcard/serv_vcard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/citadel/modules/vcard/serv_vcard.c b/citadel/modules/vcard/serv_vcard.c index fdd41ef64..da6418c57 100644 --- a/citadel/modules/vcard/serv_vcard.c +++ b/citadel/modules/vcard/serv_vcard.c @@ -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]; -- 2.30.2