]> code.citadel.org Git - citadel.git/blobdiff - citadel/aidepost.c
msgbase.c: fixed tempfile naming problem that could cause a new
[citadel.git] / citadel / aidepost.c
index a54bc1e18d3751795ec1dbc7c7799e12c71d0422..04b9b86eeeb2c3594a32cf392d062e08c8aeca50 100644 (file)
@@ -51,8 +51,8 @@ int main(int argc, char **argv)
        char movecmd[256];
        
        get_config();
-       snprintf(tempbase,sizeof tempbase,"ap.%d",getpid());
-       snprintf(temptmp,sizeof temptmp,"/tmp/%s", tempbase);
+       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);