aboutsummaryrefslogtreecommitdiffstats
path: root/assuan/assuan-util.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2001-11-07 17:43:05 +0000
committerWerner Koch <[email protected]>2001-11-07 17:43:05 +0000
commit7166bd6a5d4e6dd850062c12362f33240b9b2124 (patch)
tree6df0ef5633d00f18ca6b513acff5d2792362e890 /assuan/assuan-util.c
parentgpgsm does now build and a dummy server can be started. (diff)
downloadgnupg-7166bd6a5d4e6dd850062c12362f33240b9b2124.tar.gz
gnupg-7166bd6a5d4e6dd850062c12362f33240b9b2124.zip
Assuan server mode is now basically usable
Diffstat (limited to '')
-rw-r--r--assuan/assuan-util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/assuan/assuan-util.c b/assuan/assuan-util.c
index 849cd3f36..3a9496e41 100644
--- a/assuan/assuan-util.c
+++ b/assuan/assuan-util.c
@@ -21,6 +21,7 @@
#include <config.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include "assuan-defs.h"
@@ -72,11 +73,10 @@ _assuan_free (void *p)
/* Store the error in the context so that the error sending function
- can take out a descriptive text. We wight also want to store a
- standard text when TEXT is NULL. Use the macro set_error instead of
- this function. */
+ can take out a descriptive text. Inside the assuan code, use the
+ macro set_error instead of this function. */
int
-_assuan_set_error (ASSUAN_CONTEXT ctx, int err, const char *text)
+assuan_set_error (ASSUAN_CONTEXT ctx, int err, const char *text)
{
ctx->err_no = err;
ctx->err_str = text;