* Removed instances of hard-coded CTDLDIR; this breaks -h
[citadel.git] / citadel / room_ops.c
index 81b43db061dd2cb445c22ef5dc777113853d40d3..57d42b5522fcf8006f65eb59428a0f9894e5b261 100644 (file)
@@ -1078,7 +1078,7 @@ void cmd_rdir(void)
        }
        cprintf("%d %s|"
 #ifndef HAVE_DATA_DIR
-                       CTDLDIR
+                       "."
 #else
                        DATA_DIR
 #endif
@@ -1087,7 +1087,7 @@ void cmd_rdir(void)
 
        snprintf(buf, sizeof buf, "ls "
 #ifndef HAVE_DATA_DIR
-                        CTDLDIR
+                        "."
 #else
                         DATA_DIR
 #endif
@@ -1097,7 +1097,7 @@ void cmd_rdir(void)
 
        snprintf(buf, sizeof buf, 
 #ifndef HAVE_DATA_DIR
-                        CTDLDIR
+                        "."
 #else
                         DATA_DIR
 #endif
@@ -1112,7 +1112,7 @@ void cmd_rdir(void)
                if (strcasecmp(flnm, "filedir")) {
                        snprintf(buf, sizeof buf, 
 #ifndef HAVE_DATA_DIR
-                                        CTDLDIR
+                                        "."
 #else
                                         DATA_DIR
 #endif
@@ -1425,7 +1425,7 @@ void cmd_setr(char *args)
        if (CC->room.QRflags & QR_DIRECTORY) {
                snprintf(buf, sizeof buf, 
 #ifndef HAVE_DATA_DIR
-                                CTDLDIR
+                                "."
 #else
                                 DATA_DIR
 #endif