diff options
| author | Marcus Brinkmann <[email protected]> | 2001-12-19 00:23:25 +0000 | 
|---|---|---|
| committer | Marcus Brinkmann <[email protected]> | 2001-12-19 00:23:25 +0000 | 
| commit | 102009c336bc526270092aad9abb72e136c7df6a (patch) | |
| tree | 38a2512684ee10e884e1cfaacad6707f2a9986bc /assuan/assuan-handler.c | |
| parent | Final polish. (diff) | |
| download | gpgme-102009c336bc526270092aad9abb72e136c7df6a.tar.gz gpgme-102009c336bc526270092aad9abb72e136c7df6a.zip | |
Update from newpg.
Diffstat (limited to '')
| -rw-r--r-- | assuan/assuan-handler.c | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/assuan/assuan-handler.c b/assuan/assuan-handler.c index 614f83d8..a82bd537 100644 --- a/assuan/assuan-handler.c +++ b/assuan/assuan-handler.c @@ -54,6 +54,8 @@ std_handler_bye (ASSUAN_CONTEXT ctx, char *line)  {    if (ctx->bye_notify_fnc)      ctx->bye_notify_fnc (ctx); +  assuan_close_input_fd (ctx); +  assuan_close_output_fd (ctx);    return -1; /* pretty simple :-) */  } @@ -68,6 +70,8 @@ std_handler_reset (ASSUAN_CONTEXT ctx, char *line)  {    if (ctx->reset_notify_fnc)      ctx->reset_notify_fnc (ctx); +  assuan_close_input_fd (ctx); +  assuan_close_output_fd (ctx);    return 0;  } @@ -458,7 +462,8 @@ assuan_process_next (ASSUAN_CONTEXT ctx)   *    * Return all active filedescriptors for the given context.  This   * function can be used to select on the fds and call - * assuan_process_next() if there is an active one. + * assuan_process_next() if there is an active one.  The first fd in + * the array is the one used for the command connection.   *   * Note, that write FDs are not yet supported.   *  | 
