diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client.c | 9 | ||||
-rw-r--r-- | src/context.c | 4 |
2 files changed, 6 insertions, 7 deletions
diff --git a/src/client.c b/src/client.c index 3dfcf75..64efffd 100644 --- a/src/client.c +++ b/src/client.c @@ -228,11 +228,10 @@ _assuan_read_from_server (assuan_context_t ctx, assuan_response_t *response, * * FIXME: Write documentation * - * Return value: 0 on success or error code. The error code may be - * the one one returned by the server in error lines or from the - * callback functions. Take care: When a callback returns an error - * this function returns immediately with an error and thus the caller - * will altter return an Assuan error (write erro in most cases). + * Return value: 0 on success or an error code. The error code may be + * the one one returned by the server via error lines or from the + * callback functions. Take care: If a callback returns an error + * this function returns immediately with this error. **/ gpg_error_t assuan_transact (assuan_context_t ctx, diff --git a/src/context.c b/src/context.c index c55f626..6b30236 100644 --- a/src/context.c +++ b/src/context.c @@ -122,7 +122,7 @@ assuan_get_flag (assuan_context_t ctx, assuan_flag_t flag) } -/* Same as assuan_set_flag (ctx, ASSUAN_NO_WAITPID, 1). */ +/* Same as assuan_set_flag (ctx, ASSUAN_CONFIDENTIAL, 1). */ void assuan_begin_confidential (assuan_context_t ctx) { @@ -130,7 +130,7 @@ assuan_begin_confidential (assuan_context_t ctx) } -/* Same as assuan_set_flag (ctx, ASSUAN_NO_WAITPID, 0). */ +/* Same as assuan_set_flag (ctx, ASSUAN_CONFIDENTIAL, 0). */ void assuan_end_confidential (assuan_context_t ctx) { |