Changeset 58a1449
- Timestamp:
- 2008-03-24T11:01:02Z (17 years ago)
- Branches:
- master
- Children:
- 66c51bbf, bfe7caa
- Parents:
- fcd5003
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
debian/changelog
rfcd5003 r58a1449 2 2 3 3 * Fixed some packaging issues reported by IRC and e-mail. (Closes: #472373) 4 * Fixed proxy support. (Closes: #472395) 4 5 * Not ready yet. 5 6 -
lib/proxy.c
rfcd5003 r58a1449 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.