projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92aff95
)
fixed endless loop in modcmd.c
author
pk910
<philipp@zoelle1.de>
Sun, 12 Feb 2012 19:08:41 +0000
(20:08 +0100)
committer
pk910
<philipp@zoelle1.de>
Sun, 12 Feb 2012 19:08:41 +0000
(20:08 +0100)
src/modcmd.c
patch
|
blob
|
history
diff --git
a/src/modcmd.c
b/src/modcmd.c
index 0bfe56dd3ce951e534d8296f75d9e050db43e6c8..8215e5252468291b584035b86d65ff229f46d59b 100644
(file)
--- a/
src/modcmd.c
+++ b/
src/modcmd.c
@@
-1052,7
+1052,7
@@
void unregister_module_commands(int module_id) {
} else
prevfunct = cmdfunct;
}
- st
atic st
ruct trigger_callback *cb, *prevcb = NULL, *nextcb;
+ struct trigger_callback *cb, *prevcb = NULL, *nextcb;
for(cb = trigger_callbacks; cb; cb = nextcb) {
nextcb = cb->next;
if(cb->module_id == module_id) {