portnum = 80;
else if (!strcmp(service, "https"))
portnum = 443;
- else if (!strcmp(service, "ipp"))
+ else if (!strcmp(service, "ipp") || !strcmp(service, "ipps"))
portnum = 631;
else if (!strcmp(service, "lpd"))
portnum = 515;
portnum = 80;
else if (!strcmp(service, "https"))
portnum = 443;
- else if (!strcmp(service, "ipp"))
+ else if (!strcmp(service, "ipp") || !strcmp(service, "ipps"))
portnum = 631;
else if (!strcmp(service, "lpd"))
portnum = 515;
else if (!strcmp(service, "socket"))
portnum = 9100;
else
+ {
+ httpAddrFreeList(first);
return (NULL);
+ }
if (hostname && !strcasecmp(hostname, "localhost"))
{