diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-08-01 20:43:31 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-08-01 20:43:31 +0000 |
commit | e541e05746f10ca361f3e2ec0b7f33f7febe88ac (patch) | |
tree | 30dceb6ad7ce59e714dc786e3afa43cc3abeef0b /fetchmail.c | |
parent | 94e2792107a1a871660604e4aa8c5e2f3dda29c1 (diff) | |
download | fetchmail-e541e05746f10ca361f3e2ec0b7f33f7febe88ac.tar.gz fetchmail-e541e05746f10ca361f3e2ec0b7f33f7febe88ac.tar.bz2 fetchmail-e541e05746f10ca361f3e2ec0b7f33f7febe88ac.zip |
Define temporary variable with #ifdefs rather than using these inside a macro expansion. Based on a patch by Miloslav Trmac.
svn path=/trunk/; revision=4211
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fetchmail.c b/fetchmail.c index 0d237213..54ba2a81 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -199,8 +199,7 @@ int main(int argc, char **argv) if (versioninfo) { - printf(GT_("This is fetchmail release %s"), VERSION); - printf( + const char *features = #ifdef POP2_ENABLE "+POP2" #endif /* POP2_ENABLE */ @@ -246,7 +245,9 @@ int main(int argc, char **argv) #ifdef ENABLE_NLS "+NLS" #endif /* ENABLE_NLS */ - "\n"); + "\n"; + printf(GT_("This is fetchmail release %s"), VERSION); + fputs(features, stdout); fputs("Fallback MDA: ", stdout); #ifdef FALLBACK_MDA fputs(FALLBACK_MDA, stdout); |