Преглед на файлове

htable: replace PV_NAME_PVAR with PV_NAME_OTHER

- forgotten to be updated when PV_NAME_OTHER was introduced to get rid
  of PVAR type hack
- name of $sht is a custom structure, not a PV
- reported by Christian Koch
Daniel-Constantin Mierla преди 16 години
родител
ревизия
33e4b20ffe
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      modules_k/htable/ht_var.c

+ 1 - 1
modules_k/htable/ht_var.c

@@ -163,7 +163,7 @@ int pv_parse_ht_name(pv_spec_p sp, str *in)
 	}
 	}
 	hpv->ht = ht_get_table(&hpv->htname);
 	hpv->ht = ht_get_table(&hpv->htname);
 	sp->pvp.pvn.u.dname = (void*)hpv;
 	sp->pvp.pvn.u.dname = (void*)hpv;
-	sp->pvp.pvn.type = PV_NAME_PVAR;
+	sp->pvp.pvn.type = PV_NAME_OTHER;
 	return 0;
 	return 0;
 
 
 error:
 error: