diff options
-rw-r--r-- | src/assuan-handler.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/assuan-handler.c b/src/assuan-handler.c index 21cf8cf..a46e7f7 100644 --- a/src/assuan-handler.c +++ b/src/assuan-handler.c @@ -605,7 +605,8 @@ assuan_process_done (assuan_context_t ctx, gpg_error_t rc) } else { - char errline const char *text = ctx->err_no == rc ? ctx->err_str : NULL; + char errline[300]; + const char *text = ctx->err_no == rc ? ctx->err_str : NULL; char ebuf[50]; gpg_strerror_r (rc, ebuf, sizeof (ebuf)); |