Code cleanup
This commit is contained in:
parent
18d513b742
commit
8341a5a8db
@ -113,7 +113,7 @@ int newspost(void)
|
||||
* Create newsbatch file.
|
||||
*/
|
||||
if ((CFG.newsfeed == FEEDUUCP) || (CFG.newsfeed == FEEDRNEWS)) {
|
||||
Syslog('m', "Building uncompressed batchfile");
|
||||
Syslog('+', "Posting news articles to the news batchfile");
|
||||
sprintf(buf, "%s/tmp/newsbatch", getenv("MBSE_ROOT"));
|
||||
if ((ofp = fopen(buf, "w+")) == NULL) {
|
||||
WriteError("$Can't create %s", buf);
|
||||
@ -163,7 +163,7 @@ int newspost(void)
|
||||
*/
|
||||
if (CFG.newsfeed == FEEDRNEWS) {
|
||||
if ((nb = (expipe(CFG.rnewspath, NULL, NULL))) == NULL) {
|
||||
WriteError("Could not open (pip) output for %s", CFG.rnewspath);
|
||||
WriteError("Could not open (pipe) output for %s", CFG.rnewspath);
|
||||
newsopen = FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user