]> code.citadel.org Git - citadel.git/blobdiff - webcit/roomops.c
Remove false cookies from the browser to avoid endless loops
[citadel.git] / webcit / roomops.c
index 22802ced20750a8ef1a793802eb4ba4f20dc41a3..66efe3faa75d4e71af67c5c052b0430614252c84 100644 (file)
@@ -67,7 +67,7 @@ void _DBG_QR(long QR)
                i = i << 1;
                j++;
        }
-       syslog(9, "DBG: QR-Vec [%ld] [%s]\n", QR, ChrPtr(QRVec));
+       syslog(LOG_DEBUG, "DBG: QR-Vec [%ld] [%s]\n", QR, ChrPtr(QRVec));
        FreeStrBuf(&QRVec);
 }
 
@@ -90,7 +90,7 @@ void _DBG_QR2(long QR2)
                i = i << 1;
                j++;
        }
-       syslog(9, "DBG: QR2-Vec [%ld] [%s]\n", QR2, ChrPtr(QR2Vec));
+       syslog(LOG_DEBUG, "DBG: QR2-Vec [%ld] [%s]\n", QR2, ChrPtr(QR2Vec));
        FreeStrBuf(&QR2Vec);
 }
 
@@ -1142,7 +1142,7 @@ void netedit(void) {
 
                        if (malias_set_default)
                        {
-                               if (strncmp(ChrPtr(Line), HKEY("roommailalias|")) != 0)
+                               if (strncasecmp(ChrPtr(Line), HKEY("roommailalias|")) != 0)
                                {
                                        StrBufAppendBufPlain(Line, HKEY("\n"), 0);
                                        StrBufAppendBuf(TmpBuf, Line, 0);