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:
6d1a81d
)
Fix crash when running without policy file parameter.
author
František Dvořák
<valtri@civ.zcu.cz>
Wed, 29 Feb 2012 10:07:26 +0000
(10:07 +0000)
committer
František Dvořák
<valtri@civ.zcu.cz>
Wed, 29 Feb 2012 10:07:26 +0000
(10:07 +0000)
org.glite.lb.server/src/bkserverd.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/bkserverd.c
b/org.glite.lb.server/src/bkserverd.c
index
6887918
..
916f0fe
100644
(file)
--- a/
org.glite.lb.server/src/bkserverd.c
+++ b/
org.glite.lb.server/src/bkserverd.c
@@
-1074,7
+1074,7
@@
int bk_handle_connection(int conn, struct timeval *timeout, void *data)
ctx->rssTime = rss_time;
- ctx->authz_policy_file = strdup(policy_file);
+
if (policy_file)
ctx->authz_policy_file = strdup(policy_file);
gettimeofday(&conn_start, 0);