aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg/t-edit.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-06-09 16:01:02 +0000
committerWerner Koch <[email protected]>2009-06-09 16:01:02 +0000
commitcaf36ce1ce34e88de870ea4e7586c3133a9f7afa (patch)
tree49a81dbfd1f4cf482c31d06c6f2bc9c8a3d75b95 /tests/gpg/t-edit.c
parentDo not distribute gpgme.h. (diff)
downloadgpgme-caf36ce1ce34e88de870ea4e7586c3133a9f7afa.tar.gz
gpgme-caf36ce1ce34e88de870ea4e7586c3133a9f7afa.zip
Add gpgme_io_write and gpgme_io_read.
Minor cleanups.
Diffstat (limited to '')
-rw-r--r--tests/gpg/t-edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gpg/t-edit.c b/tests/gpg/t-edit.c
index f2f406de..394379dd 100644
--- a/tests/gpg/t-edit.c
+++ b/tests/gpg/t-edit.c
@@ -103,8 +103,8 @@ edit_fnc (void *opaque, gpgme_status_code_t status, const char *args, int fd)
if (result)
{
- write (fd, result, strlen (result));
- write (fd, "\n", 1);
+ gpgme_io_write (fd, result, strlen (result));
+ gpgme_io_write (fd, "\n", 1);
}
return 0;
}