]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Compile fix for systems where printf() is a macro.
authorTimo Sirainen <tss@iki.fi>
Thu, 26 Feb 2009 16:24:21 +0000 (11:24 -0500)
committerTimo Sirainen <tss@iki.fi>
Thu, 26 Feb 2009 16:24:21 +0000 (11:24 -0500)
--HG--
branch : HEAD

src/master/main.c

index 166e95b1abb0ea84bc27a997d508a3c360ee4d86..8be820a84a74678275f2ee761c723c5d6ea597be 100644 (file)
@@ -365,7 +365,8 @@ static void print_help(void)
 
 static void print_build_options(void)
 {
-       printf("Build options:"
+       static const char *build_options =
+               "Build options:"
 #ifdef IOLOOP_EPOLL
                " ioloop=epoll"
 #endif
@@ -463,7 +464,8 @@ static void print_build_options(void)
 #ifdef USERDB_VPOPMAIL
                " vpopmail"
 #endif
-       "\n");
+       "\n";
+       puts(build_options);
 }
 
 int main(int argc, char *argv[])