git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6e9b90
)
pass program arguments to glite_jp_get_conf
author
Miloš Mulač
<mulac@civ.zcu.cz>
Tue, 4 Apr 2006 11:03:43 +0000
(11:03 +0000)
committer
Miloš Mulač
<mulac@civ.zcu.cz>
Tue, 4 Apr 2006 11:03:43 +0000
(11:03 +0000)
org.glite.jp.index/examples/jpis-test.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.jp.index/examples/jpis-test.c
b/org.glite.jp.index/examples/jpis-test.c
index
b0a2783
..
ef926dd
100644
(file)
--- 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);