correcting wrong goto label
authorMiklos Tirpak <miklos@iptel.org>
Thu, 31 Jan 2008 16:22:09 +0000 (16:22 +0000)
committerMiklos Tirpak <miklos@iptel.org>
Thu, 31 Jan 2008 16:22:09 +0000 (16:22 +0000)
cfg/cfg_ctx.c

index 933e398..38a0b58 100644 (file)
@@ -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");
-                       goto error;
+                       goto error0;
                }
        }