* wrong evaluation of return value; we're actualy _expecting_ 4xx instead of !4xx
authorWilfried Göesgens <willi@citadel.org>
Tue, 22 Dec 2009 15:43:42 +0000 (15:43 +0000)
committerWilfried Göesgens <willi@citadel.org>
Tue, 22 Dec 2009 15:43:42 +0000 (15:43 +0000)
webcit/useredit.c

index b1d2479fe73024fec01fd32ec7ba4ca8f7f65501..05cf763affd83128ed51c0361ae9837cbf79a86f 100644 (file)
@@ -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");