Fix lots of warnings all over the place, make inbound buffers of FMOUT const.
[citadel.git] / webcit / roomlist.c
index c86a7f78dcf104cfec004830d9a80c8977432943..d52351a23409d6f35cc598784ef0a0596ae3eb9a 100644 (file)
@@ -607,8 +607,10 @@ int ConditionalRoomIsRESTSubRoom(StrBuf *Target, WCTemplputParams *TP)
        urlp = GetCount(WCC->Directory);
        delta = Folder->nRoomNameParts - urlp + 1;
 
-       syslog(0, "\n->%s: %ld - %ld ", ChrPtr(Folder->name), urlp, 
-               Folder->nRoomNameParts);
+       syslog(0, "\n->%s: %d - %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) {
                syslog(0, "1\n");