From eb12540e29b13b6d7e956fbe03aa86164408dd82 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 2 Oct 2008 16:30:38 +0200 Subject: [PATCH] Renamed cf_write_item() to cf_modify_item(). The old name was somewhat counter-intuitive. --- ucw/conf-intr.c | 2 +- ucw/getopt.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ucw/conf-intr.c b/ucw/conf-intr.c index f7b678e1..914c727d 100644 --- a/ucw/conf-intr.c +++ b/ucw/conf-intr.c @@ -576,7 +576,7 @@ cf_find_item(const char *name, struct cf_item *item) } char * -cf_write_item(struct cf_item *item, enum cf_operation op, int number, char **pars) +cf_modify_item(struct cf_item *item, enum cf_operation op, int number, char **pars) { char *msg; int taken = 0; diff --git a/ucw/getopt.h b/ucw/getopt.h index 2c6da5fb..18788b41 100644 --- a/ucw/getopt.h +++ b/ucw/getopt.h @@ -69,7 +69,7 @@ struct cf_item; **/ char *cf_find_item(const char *name, struct cf_item *item); // TODO What does this do? -char *cf_write_item(struct cf_item *item, enum cf_operation op, int number, char **pars); +char *cf_modify_item(struct cf_item *item, enum cf_operation op, int number, char **pars); /*** * [[conf_dump]] -- 2.39.2