From: Wilfried Göesgens Date: Tue, 22 Dec 2009 15:43:42 +0000 (+0000) Subject: * wrong evaluation of return value; we're actualy _expecting_ 4xx instead of !4xx X-Git-Tag: v7.86~557 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=cf6f1f0e96e11037abeae11db4a18c8adc5f06ce * wrong evaluation of return value; we're actualy _expecting_ 4xx instead of !4xx --- diff --git a/webcit/useredit.c b/webcit/useredit.c index b1d2479fe..05cf763af 100644 --- a/webcit/useredit.c +++ b/webcit/useredit.c @@ -471,7 +471,7 @@ TRYAGAIN: already_tried_creating_one = 1; serv_puts("ENT0 1|||4"); StrBuf_ServGetln(Buf); - if (GetServerStatus(Buf, NULL) != 4) { + if (GetServerStatus(Buf, NULL) == 4) { serv_puts("Content-type: text/x-vcard"); serv_puts(""); serv_puts("begin:vcard");