use roken* macros
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3700 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -48,7 +48,7 @@ krb5_getportbyname (krb5_context context,
|
||||
{
|
||||
struct servent *sp;
|
||||
|
||||
if ((sp = getservbyname (service, proto)) == NULL) {
|
||||
if ((sp = roken_getservbyname (service, proto)) == NULL) {
|
||||
krb5_warnx(context, "%s/%s unknown service, using default port %d",
|
||||
service, proto, default_port);
|
||||
return htons(default_port);
|
||||
|
Reference in New Issue
Block a user