diff -N -c -r -X exclude_files squid-1.0.beta6/src/url.c squid-1.0.beta6.henrik/src/url.c *** squid-1.0.beta6/src/url.c Fri May 3 03:58:39 1996 --- squid-1.0.beta6.henrik/src/url.c Mon May 6 18:10:32 1996 *************** *** 186,194 **** *t = 0; strcpy(host, t + 1); } ! if ((t = strrchr(host, ':')) && *(t + 1) != '\0') { ! *t = '\0'; ! port = atoi(t + 1); } } for (t = host; *t; t++) --- 186,195 ---- *t = 0; strcpy(host, t + 1); } ! if ((t = strrchr(host, ':'))) { ! *t++ = '\0'; ! if(*t != '\0') ! port = atoi(t); } } for (t = host; *t; t++)