Changeset 2231302 for lib/proxy.c
- Timestamp:
- 2007-11-05T22:59:49Z (17 years ago)
- Branches:
- master
- Children:
- be68d99
- Parents:
- 5e2615a (diff), 7435ccf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/proxy.c
r5e2615a r2231302 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.