Browse Source

[mod_vhost] Fix use of uninitialized variable in vhost.map_regex action

personal/stbuehler/wip
Thomas Porzelt 13 years ago
parent
commit
68b32499f9
  1. 4
      src/modules/mod_vhost.c

4
src/modules/mod_vhost.c

@ -326,13 +326,13 @@ static liAction* vhost_map_create(liServer *srv, liPlugin* p, liValue *val) {
}
static liHandlerResult vhost_map_regex(liVRequest *vr, gpointer param, gpointer *context) {
liValue *v;
vhost_map_regex_entry *entry;
guint i;
ev_tstamp now;
vhost_map_regex_data *mrd = param;
GArray *list = g_array_index(mrd->lists, GArray*, vr->wrk->ndx);
gboolean debug = _OPTION(vr, mrd->plugin, 0).boolean;
liValue *v = NULL;
vhost_map_regex_entry *entry = NULL;
UNUSED(context);

Loading…
Cancel
Save