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:
a30c6cc
)
- gsoap-2.6 resistance
author
Aleš Křenek
<ljocha@ics.muni.cz>
Fri, 3 Jun 2005 12:53:00 +0000
(12:53 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Fri, 3 Jun 2005 12:53:00 +0000
(12:53 +0000)
- database open on slave init
org.glite.jp.primary/src/bones_server.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.jp.primary/src/bones_server.c
b/org.glite.jp.primary/src/bones_server.c
index
8c90ba4
..
3296aa0
100644
(file)
--- a/
org.glite.jp.primary/src/bones_server.c
+++ b/
org.glite.jp.primary/src/bones_server.c
@@
-97,7
+97,11
@@
int main(int argc, char *argv[])
srand48(time(NULL)); /* feed id generation */
+#if GSOAP_VERSION <= 20602
+ for (i=0; jpps__namespaces[i].id && strcmp(jpps__namespaces[i].id,"ns1"); i++);
+#else
for (i=0; jpps__namespaces[i].id && strcmp(jpps__namespaces[i].id,"jpsrv"); i++);
+#endif
assert(jpps__namespaces[i].id);
glite_jp_default_namespace = jpps__namespaces[i].ns;
@@
-150,6
+154,7
@@
static int data_init(void **data)
*data = (void *) soap_new();
printf("[%d] slave started\n",getpid());
+ glite_jppsbe_init_slave(ctx); /* XXX: global but slave's */
return 0;
}