]> code.citadel.org Git - citadel.git/blobdiff - citadel/rcit.c
* Changed the comments at the beginning of each file to a consistent format
[citadel.git] / citadel / rcit.c
index 7da660408bb484d96d33ef69a63ec7c1adceedae..8cd0e4f887d6f75b3f6955d051fa62532719db64 100644 (file)
@@ -1,6 +1,4 @@
-#define UNCOMPRESS "/usr/bin/gunzip"
-
-/* Citadel/UX rcit $Id$
+/* $Id$
  *
  * This program simply feeds its standard input to the networker.  It is
  * used primarily to hook up to UUCP feeds of Citadel data.
@@ -13,6 +11,7 @@
  *     -s      Don't run netproc now, just accept the input into spoolin
  */
 
+#define UNCOMPRESS "/usr/bin/gunzip"
 #include <stdlib.h>
 #include <unistd.h>
 #include <fcntl.h>
@@ -34,7 +33,7 @@ int main(int argc, char **argv)
        char spool_only = 0;
 
        get_config();
-       sprintf(flnm,"./network/spoolin/rcit.%d", getpid());
+       sprintf(flnm,"./network/spoolin/rcit.%ld", (long)getpid());
        sprintf(tname, tmpnam(NULL));
 
        for (a=1; a<argc; ++a) {