Parent Directory | Revision Log | Patch
revision 1.18 by nmav, Sat Oct 26 21:05:35 2002 UTC | revision 1.19 by nmav, Tue Oct 29 12:13:54 2002 UTC | |
---|---|---|
# | Line 602 char str_port[23]; | Line 602 char str_port[23]; |
602 | int do_port = 0; | int do_port = 0; |
603 | ||
604 | buffer[0] = 0; /* in case we fail */ | buffer[0] = 0; /* in case we fail */ |
605 | if (hostname == NULL) { | if (hostname == NULL) |
606 | hostname = "(null)"; | hostname = ""; |
} | ||
607 | ||
608 | if (request_uri == NULL) { | if (request_uri == NULL) |
609 | request_uri = "(null)"; | request_uri = ""; |
} | ||
610 | ||
611 | if (secure) { | if (secure) { |
612 | proto = "https"; | proto = "https"; |
# | Line 616 int do_port = 0; | Line 614 int do_port = 0; |
614 | do_port = 1; | do_port = 1; |
615 | } else { | } else { |
616 | proto = "http"; | proto = "http"; |
617 | if (port!=80) | if (port != 80) |
618 | do_port = 1; | do_port = 1; |
619 | } | } |
620 |
|
webmaster@linux.gr | ViewVC Help |
Powered by ViewVC 1.1.26 |