]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Fix NULL -> '\0'.
authorMatthias Andree <matthias.andree@gmx.de>
Sat, 11 Jan 2003 01:45:54 +0000 (02:45 +0100)
committerMatthias Andree <matthias.andree@gmx.de>
Sat, 11 Jan 2003 01:45:54 +0000 (02:45 +0100)
bk: 3e1f7752UR59aAFMV-IkWlZfuxxrBA

ntpd/refclock_palisade.c

index c7b078adb4a567dda4fa350dde2546dd80cfcc2b..d45f64c224ea70301902df05b2663a36b66e1fc9 100644 (file)
@@ -669,7 +669,7 @@ praecis_parse(struct recvbuf *rbufp, struct peer *peer)
        p += rbufp->recv_length;
 
        if(buf[p-2] == '\r' && buf[p-1] == '\n') {
-               buf[p-2] = NULL;
+               buf[p-2] = '\0';
                record_clock_stats(&peer->srcadr, buf);
 
                p = 0;