aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/comproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/comproc.c')
-rw-r--r--FICS/comproc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/FICS/comproc.c b/FICS/comproc.c
index 405a59f..4bb7ec2 100644
--- a/FICS/comproc.c
+++ b/FICS/comproc.c
@@ -141,14 +141,14 @@ rscan_news2(FILE *fp, int p, int num)
PUBLIC int
com_news(int p, param_list param)
{
- FILE *fp;
- char *junkp;
+ FILE *fp = NULL;
+ char *junkp = NULL;
char count[10] = { '\0' };
char filename[MAX_FILENAME_SIZE] = { '\0' };
char junk[MAX_LINE_SIZE] = { '\0' };
int found = 0;
- long int lval;
- time_t crtime;
+ long int lval = 0;
+ time_t crtime = 0;
snprintf(filename, sizeof filename, "%s/newnews.index", news_dir);