number, and sunos doesn't have strtoul (and nothing else in the
tree uses it.)
(add_port): use proper old-style definition.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7398
dc483132-0cff-0310-8789-
dd5450dbe970
+Sat Jan 27 00:53:41 1996 Mark Eichin <eichin@cygnus.com>
+
+ * network.c (setup_network): strtol is good enough for port
+ number, and sunos doesn't have strtoul (and nothing else in the
+ tree uses it.)
+ (add_port): use proper old-style definition.
+
Wed Dec 13 03:51:53 1995 Chris Provenzano (proven@mit.edu)
* kerberos_v4.c : Remove mkvno for krb5_db_entry
static fd_set select_fds;
static int select_nfds;
-static krb5_error_code add_port(u_short port)
+static krb5_error_code add_port(port)
+ u_short port;
{
int i;
int *new_fds;
cp++;
continue;
}
- port = strtoul(cp, &cp, 10);
+ port = strtol(cp, &cp, 10);
if (cp == 0)
break;
retval = add_port(port);