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:
c72ecea
)
Initialize LB context properly (fixes one of causes of bug #15450).
author
Zdeněk Salvet
<salvet@ics.muni.cz>
Tue, 9 May 2006 07:05:10 +0000
(07:05 +0000)
committer
Zdeněk Salvet
<salvet@ics.muni.cz>
Tue, 9 May 2006 07:05:10 +0000
(07:05 +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
c7d5329
..
517401b
100644
(file)
--- a/
org.glite.lb.proxy/src/lbproxy.c
+++ b/
org.glite.lb.proxy/src/lbproxy.c
@@
-351,7
+351,7
@@
int handle_conn(int conn, struct timeval *timeout, void *data)
edg_wll_Context ctx;
struct timeval conn_start, now;
-
if ( !(ctx = (edg_wll_Context) calloc(1, sizeof(*ctx))
) ) {
+
if ( edg_wll_InitContext(&ctx
) ) {
fprintf(stderr, "Couldn't create context");
return -1;
}