From 6e12fa105824a30a3a38c66a73c23307ddfb2b24 Mon Sep 17 00:00:00 2001 From: Gerardo Orellana Date: Mon, 25 May 2015 10:00:25 -0500 Subject: [PATCH] Renamed verify_format() to render_confdlg(). --- src/goaccess.c | 2 +- src/ui.c | 2 +- src/ui.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/goaccess.c b/src/goaccess.c index b74a21366c..2f96b8ae4a 100644 --- a/src/goaccess.c +++ b/src/goaccess.c @@ -991,7 +991,7 @@ main (int argc, char **argv) /* configuration dialog */ if (isatty (STDIN_FILENO) && (conf.log_format == NULL || conf.load_conf_dlg)) { refresh (); - quit = verify_format (logger, parsing_spinner); + quit = render_confdlg (logger, parsing_spinner); } /* straight parsing */ else { diff --git a/src/ui.c b/src/ui.c index 4b22de0133..bea9faddf9 100644 --- a/src/ui.c +++ b/src/ui.c @@ -869,7 +869,7 @@ new_gspinner (void) /* render config log date/format dialog */ int -verify_format (GLog * logger, GSpinner * spinner) +render_confdlg (GLog * logger, GSpinner * spinner) { GMenu *menu; WINDOW *win; diff --git a/src/ui.h b/src/ui.h index 54d91c58f8..f5a0140ea9 100644 --- a/src/ui.h +++ b/src/ui.h @@ -278,7 +278,7 @@ const char *module_to_head (GModule module); const char *module_to_id (GModule module); const char *module_to_label (GModule module); int set_host_agents (const char *addr, void (*func) (void *, void *, int), void *arr); -int verify_format (GLog * logger, GSpinner * spinner); +int render_confdlg(GLog * logger, GSpinner * spinner); void close_win (WINDOW * w); void display_general (WINDOW * header_win, char *ifile, GLog *logger); void draw_header (WINDOW * win, const char *s, const char *fmt, int y, int x, int w, int color, int max_width);