projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aafb547
)
Initialize via attr
author
Alan T. DeKok
<aland@freeradius.org>
Tue, 20 Oct 2009 12:53:38 +0000
(14:53 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Tue, 20 Oct 2009 12:53:38 +0000
(14:53 +0200)
src/main/event.c
patch
|
blob
|
history
diff --git
a/src/main/event.c
b/src/main/event.c
index
3637ba5
..
51e6c9c
100644
(file)
--- a/
src/main/event.c
+++ b/
src/main/event.c
@@
-3933,7
+3933,7
@@
int radius_event_init(CONF_SECTION *cs, int spawn_flag)
}
#endif
- if (pthread_mutex_init(&proxy_mutex,
NULL
) != 0) {
+ if (pthread_mutex_init(&proxy_mutex,
&attr
) != 0) {
radlog(L_ERR, "FATAL: Failed to initialize proxy mutex: %s",
strerror(errno));
exit(1);