From ebf669cdbf7854f03113a937605658f100aefd48 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 9 Oct 2015 16:04:25 +0200 Subject: updated libquickmail to 0.1.20 --- 3rdParty/libquickmail/quickmailprog.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to '3rdParty/libquickmail/quickmailprog.c') diff --git a/3rdParty/libquickmail/quickmailprog.c b/3rdParty/libquickmail/quickmailprog.c index f15f52f..c47bed9 100644 --- a/3rdParty/libquickmail/quickmailprog.c +++ b/3rdParty/libquickmail/quickmailprog.c @@ -59,7 +59,11 @@ void show_help() { printf( - "Usage: quickmail {-h server | -o filename} [-p port] [-u username] [-w password] -f email [-t email] [-c email] [-b email] [-s subject] [-m mimetype] [-d body] [-a file] [-v]\n" \ + "Usage: quickmail" +#ifdef NOCURL + "light" +#endif + " {-h server | -o filename} [-p port] [-u username] [-w password] -f email [-t email] [-c email] [-b email] [-s subject] [-m mimetype] [-d body] [-a file] [-v]\n" \ "Parameters:\n" \ " -h server \thostname or IP address of SMTP server\n" \ " -o filename \tname of file to dump the mail content to (- for stdout)\n" \ @@ -99,9 +103,9 @@ int main (int argc, char *argv[]) //show version #ifdef NOCURL printf("quickmail %s\n", quickmail_get_version()); -#else - { - curl_version_info_data* curlversion = curl_version_info(CURLVERSION_NOW); +#else + { + curl_version_info_data* curlversion = curl_version_info(CURLVERSION_NOW); printf("quickmail %s (with libcurl %s)\n", quickmail_get_version(), (curlversion ? curlversion->version : curl_version())); } #endif -- cgit v1.2.3-54-g00ecf