- Timestamp:
- 2007-10-12T12:11:57Z (17 years ago)
- Branches:
- master
- Children:
- 764b163d
- Parents:
- c78c032
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/proxy.c
rc78c032 rf618a4a 211 211 } 212 212 213 if ( proxyuser && *proxyuser) {213 if (strlen(proxyuser) > 0) { 214 214 char *t1, *t2; 215 215 t1 = g_strdup_printf("%s:%s", proxyuser, proxypass); … … 539 539 phb->data = data; 540 540 541 if ((proxytype == PROXY_NONE) || !proxyhost || !proxyhost[0]|| !proxyport || (proxyport == -1))541 if ((proxytype == PROXY_NONE) || strlen(proxyhost) > 0 || !proxyport || (proxyport == -1)) 542 542 return proxy_connect_none(host, port, phb); 543 543 else if (proxytype == PROXY_HTTP)
Note: See TracChangeset
for help on using the changeset viewer.