* Applied a patch sent in by Wilfried Goesgens which allows the various
[citadel.git] / citadel / aidepost.c
index 3591ff8962fbd33c107050afafbbf27fc96f2c28..1bc26dcd4b7790e7ba8280216d75895070043b5c 100644 (file)
@@ -98,7 +98,12 @@ int main(int argc, char **argv)
        }
 
        snprintf(tempspool, sizeof tempspool,
-               "./network/spoolin/ap.%04lx",
+#ifndef HAVE_SPOOL_DIR
+                        CTDLDIR
+#else
+                        SPOOL_DIR
+#endif
+                        "/network/spoolin/ap.%04lx",
                (long)getpid());
 
        unlink(tempspool);