summaryrefslogtreecommitdiff
path: root/ext/yaz/php_yaz.c
diff options
context:
space:
mode:
authorAdam Dickmeiss <dickmeiss@php.net>2002-07-30 10:50:48 +0000
committerAdam Dickmeiss <dickmeiss@php.net>2002-07-30 10:50:48 +0000
commit5246b7d9d4531f3c886e883612d0a1df585478a0 (patch)
tree2f8d89d620341af7a4dcca3485931f01738141bf /ext/yaz/php_yaz.c
parent82c72f2799927e5051780025924c82f4801e478d (diff)
downloadphp-git-5246b7d9d4531f3c886e883612d0a1df585478a0.tar.gz
Fixed proxy setting for ZOOM
Diffstat (limited to 'ext/yaz/php_yaz.c')
-rw-r--r--ext/yaz/php_yaz.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/yaz/php_yaz.c b/ext/yaz/php_yaz.c
index b0a09af824..4c8c492087 100644
--- a/ext/yaz/php_yaz.c
+++ b/ext/yaz/php_yaz.c
@@ -1281,6 +1281,7 @@ PHP_FUNCTION(yaz_connect)
option_set (as, "otherInfo0", otherInfo[0]);
option_set (as, "otherInfo1", otherInfo[1]);
option_set (as, "otherInfo2", otherInfo[2]);
+ option_set (as, "proxy", proxy_str);
ZOOM_connection_connect (as->zoom_conn, zurl_str, 0);
break;
}
@@ -1334,6 +1335,7 @@ PHP_FUNCTION(yaz_connect)
option_set (as, "otherInfo0", otherInfo[0]);
option_set (as, "otherInfo1", otherInfo[1]);
option_set (as, "otherInfo2", otherInfo[2]);
+ option_set (as, "proxy", proxy_str);
ZOOM_connection_connect (as->zoom_conn, zurl_str, 0);
#else