diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/inndBM.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/util/inndBM.c b/util/inndBM.c index 110d1ab2..2e300a20 100644 --- a/util/inndBM.c +++ b/util/inndBM.c @@ -116,10 +116,15 @@ int dobbsnnrp(char *serverstr, int serverid,FILE *fpscript) strtok(server[serverid].address,";\r\n"); //¨¾hack sprintf(buf, INNDHOME"/bbsnnrp -c %s " INNDHOME "/active/%s.auto.active " - " >> " INNDHOME"/log/inndBM.log &\n", + " >> " INNDHOME"/log/inndBM.log &\r\n", server[serverid].address, serverstr); system(buf); + sprintf(buf, INNDHOME"/bbsnnrp %s " + INNDHOME "/active/%s.auto.active " + " >> " INNDHOME"/log/inndBM.log &\r\n", + server[serverid].address, + serverstr); if(fpscript) fprintf(fpscript, buf); return 0; |