]> code.citadel.org Git - citadel.git/blobdiff - webcit/roomops.c
DBG_QR[2] now a configurable loggable
[citadel.git] / webcit / roomops.c
index 076e5636b8154c03870d8f55117c040bd0f25555..8a3b4dfa4fe3f619d8d838e976bf95e78bf7e882 100644 (file)
@@ -41,7 +41,7 @@ ConstStr QR2FlagList[] = {
        {HKEY("")}
 };
 
-void DBG_QR(long QR)
+void _DBG_QR(long QR)
 {
        int i = 1;
        int j=0;
@@ -64,7 +64,7 @@ void DBG_QR(long QR)
 
 
 
-void DBG_QR2(long QR2)
+void _DBG_QR2(long QR2)
 {
        int i = 1;
        int j=0;
@@ -568,8 +568,9 @@ void LoadXRoomInfoText(void)
        StrBuf *Buf;
        int Done = 0;
        
-       if (WCC->CurRoom.XHaveInfoTextLoaded)
+       if (WCC->CurRoom.XHaveInfoTextLoaded) {
                return;
+       }
 
        WCC->CurRoom.XHaveInfoTextLoaded = 1;
        Buf = NewStrBuf();
@@ -589,7 +590,7 @@ void LoadXRoomInfoText(void)
                }
        }
 
-       FreeStrBuf (&Buf);
+       FreeStrBuf(&Buf);
 }