projects
/
oweals
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d241c56
)
plugin.c: don't assume post_init callback to exist
author
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 5 Mar 2013 15:40:45 +0000
(16:40 +0100)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 5 Mar 2013 15:40:45 +0000
(16:40 +0100)
plugin.c
patch
|
blob
|
history
diff --git
a/plugin.c
b/plugin.c
index cd4831e76f102437a7e61ea6035969c4ef3720dd..4315da269c5c6ddcd0126d79645f64843a490627 100644
(file)
--- a/
plugin.c
+++ b/
plugin.c
@@
-65,5
+65,6
@@
void uh_plugin_post_init(void)
struct uhttpd_plugin *p;
list_for_each_entry(p, &plugins, list)
- p->post_init();
+ if (p->post_init)
+ p->post_init();
}