Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorvald Natvig <slicer@users.sourceforge.net>2009-08-27 16:40:35 +0400
committerThorvald Natvig <slicer@users.sourceforge.net>2009-08-27 16:40:35 +0400
commitf3c3546665a1734c0dc1d162c67921fc3a3317d1 (patch)
treea7e9a1558a0633b2228846e7591b49f6ce8a1165 /scripts/glacier
parent0f5a49dd021a9f6b1eff5d995777f89cf22f340a (diff)
Make Glacier2 example actually use the proxy
Diffstat (limited to 'scripts/glacier')
-rw-r--r--scripts/glacier/glacier.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/glacier/glacier.php b/scripts/glacier/glacier.php
index 93275e68f..129fc47ab 100644
--- a/scripts/glacier/glacier.php
+++ b/scripts/glacier/glacier.php
@@ -13,12 +13,13 @@ try {
$router = $router->ice_uncheckedCast("::Glacier2::Router")->ice_router(null);
$session = $router->createSession("testuser", "testpass");
- $base = $ICE->stringToProxy("Meta:tcp -h 127.0.0.1 -p 6502");
+ $base = $ICE->stringToProxy("Meta:tcp -h 127.0.0.1 -p 6502")->ice_router($router);
$meta = $base->ice_checkedCast("::Murmur::Meta");
$servers = $meta->getBootedServers();
$default = $meta->getDefaultConf();
foreach($servers as $s) {
+ $s = $s->ice_router($router);
$name = $s->getConf("registername");
if (! $name) {
$name = $default["registername"];