projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2a7eea2
)
fixed crash in modules.c
author
pk910
<philipp@zoelle1.de>
Sun, 12 Feb 2012 16:27:20 +0000
(17:27 +0100)
committer
pk910
<philipp@zoelle1.de>
Sun, 12 Feb 2012 16:27:20 +0000
(17:27 +0100)
src/modules.c
patch
|
blob
|
history
diff --git
a/src/modules.c
b/src/modules.c
index 064d84f64a67192b2358af4a2d747f1a1c99e67e..dc3f59842aec364da536a1c144de5b4595bdf274 100644
(file)
--- a/
src/modules.c
+++ b/
src/modules.c
@@
-273,7
+273,7
@@
static void unregister_module_hooks(int module_id);
void loadModules() {
char **modulelist = get_all_fieldnames("modules");
int i = 0;
void loadModules() {
char **modulelist = get_all_fieldnames("modules");
int i = 0;
- while(
*
modulelist[i]) {
+ while(modulelist[i]) {
loadModule(modulelist[i]);
i++;
}
loadModule(modulelist[i]);
i++;
}