From 05cb2b9c62b323a1278c81b6cbe00b2e4186b4f4 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Thu, 18 Mar 2010 10:10:32 +0100 Subject: Fix lots of warnings, most around string literals... ...that were converted to char* when they should have been converted to const char *. Use braces for empty if/else statements. --- fetchmail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index e0ec1758..4e0ea519 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -72,9 +72,9 @@ flag versioninfo; /* emit only version info */ char *user; /* the name of the invoking user */ char *home; /* invoking user's home directory */ char *fmhome; /* fetchmail's home directory */ -char *program_name; /* the name to prefix error messages with */ +const char *program_name; /* the name to prefix error messages with */ flag configdump; /* dump control blocks for configurator */ -char *fetchmailhost; /* either `localhost' or the host's FQDN */ +const char *fetchmailhost; /* either `localhost' or the host's FQDN */ static int quitonly; /* if we should quit after killing the running daemon */ -- cgit v1.2.3