projects
/
profile
/
ivi
/
murphy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa455ce
)
core: make sure authenticator backend user_data defaults to NULL.
author
Krisztian Litkey
<kli@iki.fi>
Tue, 4 Jun 2013 19:28:40 +0000
(22:28 +0300)
committer
Krisztian Litkey
<kli@iki.fi>
Tue, 4 Jun 2013 19:28:40 +0000
(22:28 +0300)
src/core/auth.h
patch
|
blob
|
history
diff --git
a/src/core/auth.h
b/src/core/auth.h
index
712803c
..
4eb712d
100644
(file)
--- a/
src/core/auth.h
+++ b/
src/core/auth.h
@@
-82,7
+82,7
@@
int mrp_authenticate(mrp_context_t *ctx, const char *backend,
MRP_INIT static void register_authenticator(void) \
{ \
int (*initfn)(void **) = init_cb; \
- void *user_data
;
\
+ void *user_data
= NULL;
\
\
if (initfn == NULL || initfn(&user_data)) \
mrp_register_authenticator(NULL, name, auth_cb, user_data); \