summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ax25/ax25d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ax25/ax25d.c b/ax25/ax25d.c
index 30aa0af..af75d85 100644
--- a/ax25/ax25d.c
+++ b/ax25/ax25d.c
@@ -243,7 +243,7 @@ static void reload_timer(int sec)
itv.it_value.tv_usec = 0;
itv.it_interval.tv_sec = 0;
itv.it_interval.tv_usec = 0;
- setitimer(ITIMER_REAL, &itv, 0);
+ setitimer(ITIMER_REAL, &itv, NULL);
signal(SIGALRM, _ReadConfig);
}
@@ -1272,7 +1272,7 @@ int main(int argc, char *argv[])
}
*buf = 0;
- mesg = 0;
+ mesg = NULL;
while ((i = read(new, buf, (sizeof(buf)-1))) > 0) {
buf[i] = 0;
if (Logging && raxl->LoggingVC > 1) {