calculate the directories in a central manner.
[citadel.git] / citadel / aidepost.c
index 1bc26dcd4b7790e7ba8280216d75895070043b5c..0824189497432b6c29546884b3e374e9af0ba75d 100644 (file)
@@ -98,12 +98,8 @@ int main(int argc, char **argv)
        }
 
        snprintf(tempspool, sizeof tempspool,
-#ifndef HAVE_SPOOL_DIR
-                        CTDLDIR
-#else
-                        SPOOL_DIR
-#endif
-                        "/network/spoolin/ap.%04lx",
+                        "%s/ap.%04lx",
+                        ctdl_netin_dir,
                (long)getpid());
 
        unlink(tempspool);