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:
e444db9
)
Initialize context properly
author
Jan Pospíšil
<honik@ntc.zcu.cz>
Sun, 2 Oct 2005 17:53:13 +0000
(17:53 +0000)
committer
Jan Pospíšil
<honik@ntc.zcu.cz>
Sun, 2 Oct 2005 17:53:13 +0000
(17:53 +0000)
org.glite.lb.proxy/src/lbproxy.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.proxy/src/lbproxy.c
b/org.glite.lb.proxy/src/lbproxy.c
index
398b732
..
1030e8f
100644
(file)
--- a/
org.glite.lb.proxy/src/lbproxy.c
+++ b/
org.glite.lb.proxy/src/lbproxy.c
@@
-265,14
+265,15
@@
int main(int argc, char *argv[])
/* Just check the database and let it be. The slaves do the job. */
- /* XXX: InitContextProxy() !!!
- * edg_wll_InitContext(&ctx) causes segfault
- *
/
+ edg_wll_InitContext(&ctx);
+ /* XXX: obsolete
+ *
edg_wll_InitContext(&ctx) used to cause segfault
if ( !(ctx = (edg_wll_Context) malloc(sizeof(*ctx))) ) {
perror("InitContext()");
return -1;
}
memset(ctx, 0, sizeof(*ctx));
+ */
wait_for_open(ctx, dbstring);
if (edg_wll_DBCheckVersion(ctx)) {
char *et,*ed;