From 583733b74284d0e28acf3adc7e057a35fe11c8ba Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Thu, 20 Sep 2018 21:55:00 +0200 Subject: [PATCH] comment --- cmdline/main.c | 3 +++ src/dc_strencode.c | 4 ++-- src/dc_tools.c | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cmdline/main.c b/cmdline/main.c index 7ce329c6..f49b0357 100644 --- a/cmdline/main.c +++ b/cmdline/main.c @@ -215,6 +215,9 @@ int main(int argc, char ** argv) char* cmd = NULL; dc_context_t* context = dc_context_new(receive_event, NULL, "CLI"); + + return; + dc_cmdline_skip_auth(context); /* disable the need to enter the command `auth ` for all mailboxes. */ /* open database from the commandline (if omitted, it can be opened using the `open`-command) */ diff --git a/src/dc_strencode.c b/src/dc_strencode.c index 10514a2c..9e612239 100644 --- a/src/dc_strencode.c +++ b/src/dc_strencode.c @@ -444,7 +444,7 @@ cleanup: * Decode non-ascii-strings as `=?UTF-8?Q?Bj=c3=b6rn_Petersen?=`. * Belongs to RFC 2047: https://tools.ietf.org/html/rfc2047 * - * @param to_encode String to decode. + * @param in String to decode. * @return Returns the null-terminated decoded string as UTF-8. Must be free()'d when no longed needed. * On errors, NULL is returned. */ @@ -829,7 +829,7 @@ char* dc_encode_ext_header(const char* to_encode) /** * Decode an extended-header-format strings to UTF-8. * - * @param to_encode Null-terminated string to decode + * @param to_decode Null-terminated string to decode * @return Null-terminated decoded UTF-8 string. Must be free()'d after usage. * Halts the program on memory allocation errors, * for all other errors, an empty string is returned or just the given string is returned. diff --git a/src/dc_tools.c b/src/dc_tools.c index 462b9618..87789bf5 100644 --- a/src/dc_tools.c +++ b/src/dc_tools.c @@ -1433,7 +1433,7 @@ void dc_make_rel_path(dc_context_t* context, char** path) * Copy a file to the blob directory, if needed. * * @param context The context object as returned from dc_context_new(). - * @param path[in,out] The path, may be modified to a relative path + * @param[in,out] path The path, may be modified to a relative path * starting with `$BLOBDIR`. * @return 1=success file may or may not be copied, 0=error */