]> code.citadel.org Git - citadel.git/commitdiff
fixed a goof
authorNathan Bryant <loanshark@uncensored.citadel.org>
Mon, 9 Nov 1998 01:53:27 +0000 (01:53 +0000)
committerNathan Bryant <loanshark@uncensored.citadel.org>
Mon, 9 Nov 1998 01:53:27 +0000 (01:53 +0000)
citadel/aidepost.c
citadel/citadel.c
citadel/sysdep.c

index 8682812147b65747b422c093d19b86a6f90129ef..a54bc1e18d3751795ec1dbc7c7799e12c71d0422 100644 (file)
@@ -51,7 +51,7 @@ int main(int argc, char **argv)
        char movecmd[256];
        
        get_config();
-       snprintf(tempbase,sizeof tempbase,ap.%d",getpid());
+       snprintf(tempbase,sizeof tempbase,"ap.%d",getpid());
        snprintf(temptmp,sizeof temptmp,"/tmp/%s", tempbase);
        snprintf(tempspool,sizeof tempspool,"./network/spoolin/%s", tempbase);
        make_message(temptmp);
index 7062a4755c0aea134f426a1a15692145ec4a2332..0811c465fcc4b319e48eb17ad47f2cb70b423eb1 100644 (file)
@@ -944,7 +944,7 @@ PWOK:       printf("%s\nAccess level: %d (%s)\nUser #%ld / Call #%d\n",
         * program.  Don't mess with these once they've been set, because we
         * will be unlinking them later on in the program and we don't
         * want to delete something that we didn't create. */
-       snprintf(temp,sizeof temp"/tmp/citA%d",getpid());
+       snprintf(temp,sizeof temp,"/tmp/citA%d",getpid());
        snprintf(temp2,sizeof temp2,"/tmp/citB%d",getpid());
        snprintf(tempdir,sizeof tempdir,"/tmp/citC%d",getpid());
 
index e8087ba538103758bad492daaf5cf135b9ee08af..4ada4dc54f23955173c539d9c3c8c3ae962c7528 100644 (file)
@@ -67,7 +67,7 @@ void lprintf(int loglevel, const char *format, ...) {
   
        if (loglevel <= verbosity) { 
                va_start(arg_ptr, format);   
-               rc = vfprintf(stderr, format, arg_ptr);   
+               vfprintf(stderr, format, arg_ptr);   
                va_end(arg_ptr);   
                }