diff options
-rw-r--r-- | src/lib/krb5/os/locate_kdc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/krb5/os/locate_kdc.c b/src/lib/krb5/os/locate_kdc.c index f0b84818d..88d55a875 100644 --- a/src/lib/krb5/os/locate_kdc.c +++ b/src/lib/krb5/os/locate_kdc.c @@ -217,14 +217,10 @@ locate_srv_conf_1(krb5_context context, const krb5_data *realm, if (port) { unsigned long l; -#ifdef HAVE_STROUL char *endptr; l = strtoul (port, &endptr, 10); if (endptr == NULL || *endptr != 0) return EINVAL; -#else - l = atoi (port); -#endif /* L is unsigned, don't need to check <0. */ if (l > 65535) return EINVAL; |