From d95ac35599bb4a1e954c6d36e57c49a39ad6fbca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Tue, 4 Apr 2006 11:03:43 +0000 Subject: [PATCH] pass program arguments to glite_jp_get_conf --- org.glite.jp.index/examples/jpis-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.glite.jp.index/examples/jpis-test.c b/org.glite.jp.index/examples/jpis-test.c index b0a2783..ef926dd 100644 --- a/org.glite.jp.index/examples/jpis-test.c +++ b/org.glite.jp.index/examples/jpis-test.c @@ -47,7 +47,7 @@ int main(int argc,char *argv[]) glite_jp_init_context(&ctx); - glite_jp_get_conf(0, NULL, NULL, &conf); + glite_jp_get_conf(argc, argv, NULL, &conf); if (default_server) strcpy(server, default_server); else snprintf(server, sizeof(server), "http://localhost:%s", conf->port ? conf->port : GLITE_JPIS_DEFAULT_PORT_STR); printf("JP index server: %s\n", server); -- 1.8.2.3