X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Froomlist.c;h=bb59c953d974211e6109bce7f0597da9f109d4fd;hp=f30d0d82e880224c10ee6a073f4e17db26a00a35;hb=a13d1d34c6f9bb9b2ffd448e177200151ce42e79;hpb=b54a07549d9d50f025235ab73751cfdee7daaa89 diff --git a/webcit/roomlist.c b/webcit/roomlist.c index f30d0d82e..bb59c953d 100644 --- a/webcit/roomlist.c +++ b/webcit/roomlist.c @@ -607,11 +607,11 @@ int ConditionalRoomIsRESTSubRoom(StrBuf *Target, WCTemplputParams *TP) urlp = GetCount(WCC->Directory); delta = Folder->nRoomNameParts - urlp + 1; - lprintf(0, "\n->%s: %ld - %ld ", ChrPtr(Folder->name), urlp, + syslog(0, "\n->%s: %ld - %ld ", ChrPtr(Folder->name), urlp, Folder->nRoomNameParts); /* list only the floors which are in relation to the dav_depth header */ if (WCC->Hdr->HR.dav_depth != delta) { - lprintf(0, "1\n"); + syslog(0, "1\n"); return 0; } @@ -631,7 +631,7 @@ int ConditionalRoomIsRESTSubRoom(StrBuf *Target, WCTemplputParams *TP) { DeleteHashPos(&it); - lprintf(0, "3\n"); + syslog(0, "3\n"); return 0; } Dir = (StrBuf*) vDir; @@ -639,7 +639,7 @@ int ConditionalRoomIsRESTSubRoom(StrBuf *Target, WCTemplputParams *TP) ChrPtr(Dir)) != 0) { DeleteHashPos(&it); - lprintf(0, "4\n"); + syslog(0, "4\n"); return 0; } } @@ -653,7 +653,7 @@ int ConditionalRoomIsRESTSubRoom(StrBuf *Target, WCTemplputParams *TP) { DeleteHashPos(&it); - lprintf(0, "5\n"); + syslog(0, "5\n"); return WCC->Hdr->HR.dav_depth == 1; } DeleteHashPos(&it);