projects
/
sip-router
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
29787f1
)
correcting wrong goto label
author
Miklos Tirpak
<miklos@iptel.org>
Thu, 31 Jan 2008 16:22:09 +0000
(16:22 +0000)
committer
Miklos Tirpak
<miklos@iptel.org>
Thu, 31 Jan 2008 16:22:09 +0000
(16:22 +0000)
cfg/cfg_ctx.c
patch
|
blob
|
history
diff --git
a/cfg/cfg_ctx.c
b/cfg/cfg_ctx.c
index
933e398
..
38a0b58
100644
(file)
--- a/
cfg/cfg_ctx.c
+++ b/
cfg/cfg_ctx.c
@@
-508,7
+508,7
@@
int cfg_set_delayed(cfg_ctx_t *ctx, str *group_name, str *var_name,
if (((int)(long)v < var->def->min)
|| ((int)(long)v > var->def->max)) {
LOG(L_ERR, "ERROR: cfg_set_delayed(): integer value is out of range\n");
if (((int)(long)v < var->def->min)
|| ((int)(long)v > var->def->max)) {
LOG(L_ERR, "ERROR: cfg_set_delayed(): integer value is out of range\n");
- goto error;
+ goto error
0
;
}
}
}
}