- 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. - Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/misc.c
r5e2615a r2231302 322 322 } 323 323 324 #ifdef IPV6325 324 /* Wrap an IPv4 address into IPv6 space. Not thread-safe... */ 326 325 char *ipv6_wrap( char *src ) … … 360 359 return ( src + 7 ); 361 360 } 362 #endif363 361 364 362 /* Convert from one charset to another. -
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.