Changeset b79308b for lib/proxy.c
- Timestamp:
- 2008-04-14T13:10:53Z (17 years ago)
- Branches:
- master
- Children:
- 0cab388
- Parents:
- 6cac643 (diff), aa31117 (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
r6cac643 rb79308b 530 530 struct PHB *phb; 531 531 532 if (!host || !port || (port == -1)|| !func || strlen(host) > 128) {532 if (!host || port <= 0 || !func || strlen(host) > 128) { 533 533 return -1; 534 534 } … … 538 538 phb->data = data; 539 539 540 if ( (proxytype == PROXY_NONE) || strlen(proxyhost) > 0 || !proxyport || (proxyport == -1))540 if (proxytype == PROXY_NONE || !proxyhost[0] || proxyport <= 0) 541 541 return proxy_connect_none(host, port, phb); 542 542 else if (proxytype == PROXY_HTTP)
Note: See TracChangeset
for help on using the changeset viewer.