aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-03-18 10:10:32 +0100
committerMatthias Andree <matthias.andree@gmx.de>2010-03-18 10:10:32 +0100
commit05cb2b9c62b323a1278c81b6cbe00b2e4186b4f4 (patch)
tree898185b02c06b47450c88fc8731cf508c056568d /fetchmail.c
parente9c99cb0a353ed18bd7c6ea6e93ec2fea326bbb4 (diff)
downloadfetchmail-05cb2b9c62b323a1278c81b6cbe00b2e4186b4f4.tar.gz
fetchmail-05cb2b9c62b323a1278c81b6cbe00b2e4186b4f4.tar.bz2
fetchmail-05cb2b9c62b323a1278c81b6cbe00b2e4186b4f4.zip
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.
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c4
1 files changed, 2 insertions, 2 deletions
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 */