X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=history.c;h=07db1d3b77124236b888503bb5872da505af9e01;hp=4e975245de79caa2713cb315189c3d1bf442b307;hb=563f8dd6f0eb56780a00f5856bf7fcf40e39d845;hpb=87e893157980abef163575ad7aedbcc96c41b0c6 diff --git a/history.c b/history.c index 4e97524..07db1d3 100644 --- a/history.c +++ b/history.c @@ -150,13 +150,13 @@ static void uci_parse_history_line(struct uci_context *ctx, struct uci_package * switch(cmd) { case UCI_CMD_RENAME: - UCI_INTERNAL(uci_rename, ctx, p, ptr.section, ptr.option, ptr.value); + UCI_INTERNAL(uci_rename, ctx, &ptr); break; case UCI_CMD_REMOVE: - UCI_INTERNAL(uci_delete, ctx, p, ptr.section, ptr.option); + UCI_INTERNAL(uci_delete, ctx, &ptr); break; case UCI_CMD_LIST_ADD: - UCI_INTERNAL(uci_add_list, ctx, p, ptr.section, ptr.option, ptr.value, NULL); + UCI_INTERNAL(uci_add_list, ctx, &ptr); break; case UCI_CMD_ADD: case UCI_CMD_CHANGE: