Module Name: src Committed By: mrg Date: Wed Jun 22 03:57:20 UTC 2011
Modified Files: src/dist/dhcp/dst: dst_support.c Log Message: don't write "(u_char) NULL". To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/dist/dhcp/dst/dst_support.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/dist/dhcp/dst/dst_support.c diff -u src/dist/dhcp/dst/dst_support.c:1.3 src/dist/dhcp/dst/dst_support.c:1.4 --- src/dist/dhcp/dst/dst_support.c:1.3 Thu Aug 11 17:13:21 2005 +++ src/dist/dhcp/dst/dst_support.c Wed Jun 22 03:57:20 2011 @@ -1,4 +1,4 @@ -static const char rcsid[] = "$Header: /cvsroot/src/dist/dhcp/dst/dst_support.c,v 1.3 2005/08/11 17:13:21 drochner Exp $"; +static const char rcsid[] = "$Header: /cvsroot/src/dist/dhcp/dst/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) {