Module Name: src Committed By: kardel Date: Tue Apr 1 17:34:44 UTC 2014
Modified Files: src/external/bsd/ntp/dist/libntp: atouint.c Log Message: remove stray 'return 0;' that effectively disabled atouint(). Hi Christos! To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/ntp/dist/libntp/atouint.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/ntp/dist/libntp/atouint.c diff -u src/external/bsd/ntp/dist/libntp/atouint.c:1.3 src/external/bsd/ntp/dist/libntp/atouint.c:1.4 --- src/external/bsd/ntp/dist/libntp/atouint.c:1.3 Sat Dec 28 03:20:13 2013 +++ src/external/bsd/ntp/dist/libntp/atouint.c Tue Apr 1 17:34:44 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: atouint.c,v 1.3 2013/12/28 03:20:13 christos Exp $ */ +/* $NetBSD: atouint.c,v 1.4 2014/04/01 17:34:44 kardel Exp $ */ #include <config.h> #include <sys/types.h> @@ -29,7 +29,6 @@ atouint( return 0; u = 0; - return 0; while ('\0' != *cp) { if (!isdigit((unsigned char)*cp)) return 0;