getc returns an int; from Chris Torek
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 23 Jun 1990 09:40:40 +0000 (01:40 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 23 Jun 1990 09:40:40 +0000 (01:40 -0800)
SCCS-vsn: usr.sbin/inetd/inetd.c 5.23

usr/src/usr.sbin/inetd/inetd.c

index da36a3a..6039963 100644 (file)
@@ -12,7 +12,7 @@ char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)inetd.c    5.22 (Berkeley) %G%";
+static char sccsid[] = "@(#)inetd.c    5.23 (Berkeley) %G%";
 #endif /* not lint */
 
 /*
 #endif /* not lint */
 
 /*
@@ -652,7 +652,7 @@ again:
        while (*cp == ' ' || *cp == '\t')
                cp++;
        if (*cp == '\0') {
        while (*cp == ' ' || *cp == '\t')
                cp++;
        if (*cp == '\0') {
-               char c;
+               int c;
 
                c = getc(fconfig);
                (void) ungetc(c, fconfig);
 
                c = getc(fconfig);
                (void) ungetc(c, fconfig);