Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/dhcp/dst don't write "(u_char) NULL".



details:   https://anonhg.NetBSD.org/src/rev/334a780ee1c2
branches:  trunk
changeset: 766410:334a780ee1c2
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Jun 22 03:57:20 2011 +0000

description:
don't write "(u_char) NULL".

diffstat:

 dist/dhcp/dst/dst_support.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6be174392b47 -r 334a780ee1c2 dist/dhcp/dst/dst_support.c
--- a/dist/dhcp/dst/dst_support.c       Wed Jun 22 03:56:17 2011 +0000
+++ b/dist/dhcp/dst/dst_support.c       Wed Jun 22 03:57:20 2011 +0000
@@ -1,4 +1,4 @@
-static const char rcsid[] = "$Header: /cvsroot/src/dist/dhcp/dst/Attic/dst_support.c,v 1.3 2005/08/11 17:13:21 drochner Exp $";
+static const char rcsid[] = "$Header: /cvsroot/src/dist/dhcp/dst/Attic/dst_support.c,v 1.4 2011/06/22 03:57:20 mrg Exp $";
 
 
 /*
@@ -155,7 +155,7 @@
        }
        bp = strchr(*buf, '\n');        /* find length of input line */
        if (bp != NULL)
-               *bp = (u_char) NULL;
+               *bp = 0;
 
        blen = b64_pton(*buf, bstr, sizeof(bstr));
        if (blen <= 0) {



Home | Main Index | Thread Index | Old Index