*** scheduler/printers.c Mon Jan 3 19:29:59 2005 --- /root/printers.c Mon Jul 31 11:19:22 2006 *************** *** 2178,2184 **** { char *start, /* Start of data after scheme */ *slash, /* First slash after scheme:// */ ! *ptr; /* Pointer into user@host:port part */ /* --- 2178,2185 ---- { char *start, /* Start of data after scheme */ *slash, /* First slash after scheme:// */ ! *ptr, /* Pointer into user@host:port part */ ! *bptr; /* Pointer for beh user@host:port part */ /* *************** *** 2198,2204 **** * Find the end of the scheme:// part... */ ! if ((ptr = strchr(buffer, ':')) == NULL) return (buffer); /* No scheme: part... */ for (start = ptr + 1; *start; start ++) --- 2199,2213 ---- * Find the end of the scheme:// part... */ ! /* If using beh then step over to real URI */ ! bptr=buffer; ! if (buffer[0]=='b' && buffer[1]=='e' && buffer[2]=='h') { ! if ((bptr = strchr(buffer, ':')) == NULL) ! return (buffer); /* No scheme: part... */ ! bptr++; ! } ! ! if ((ptr = strchr(bptr, ':')) == NULL) return (buffer); /* No scheme: part... */ for (start = ptr + 1; *start; start ++)