aboutsummaryrefslogtreecommitdiffstats
path: root/news.c
diff options
context:
space:
mode:
Diffstat (limited to 'news.c')
-rw-r--r--news.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/news.c b/news.c
index 689d64b..e95a0ba 100644
--- a/news.c
+++ b/news.c
@@ -1,4 +1,4 @@
-/* $Id: news.c,v 1.12 2003/01/15 16:11:43 ukai Exp $ */
+/* $Id: news.c,v 1.13 2003/01/15 16:14:41 ukai Exp $ */
#include "fm.h"
#include "myctype.h"
#include <stdio.h>
@@ -44,7 +44,7 @@ news_command(News * news, char *cmd, char *arg, int *status)
tmp = Sprintf("%s %s\r\n", cmd, arg);
else
tmp = Sprintf("%s\r\n", cmd);
- fwrite(tmp->ptr, tmp->length, sizeof(char), news->wf);
+ fwrite(tmp->ptr, sizeof(char), tmp->length, news->wf);
fflush(news->wf);
}
if (!status)