summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-06-25 16:10:14 +0200
committerWerner Koch <wk@gnupg.org>2009-06-25 16:10:14 +0200
commit86491ca816a22254db7e9d8fbaf447b0ef96c20b (patch)
tree376d49264666557936a674ab488461e642778f1f /common
parentFixed a bunch of little bugs as reported by Fabian Keil. (diff)
downloadgnupg2-86491ca816a22254db7e9d8fbaf447b0ef96c20b.tar.xz
gnupg2-86491ca816a22254db7e9d8fbaf447b0ef96c20b.zip
Fixed stupid typo.
Diffstat (limited to 'common')
-rw-r--r--common/ChangeLog4
-rw-r--r--common/estream.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/common/ChangeLog b/common/ChangeLog
index dd2db13cb..aa04a3d38 100644
--- a/common/ChangeLog
+++ b/common/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-25 Werner Koch <wk@g10code.com>
+
+ * estream.c (es_write_sanitized_utf8_buffer): Typo fix.
+
2009-06-24 Werner Koch <wk@g10code.com>
* estream.c (es_read_line): In the malloc error case, set
diff --git a/common/estream.c b/common/estream.c
index d3557750d..255070b58 100644
--- a/common/estream.c
+++ b/common/estream.c
@@ -3205,7 +3205,7 @@ es_write_sanitized_utf8_buffer (estream_t stream,
*bytes_written = strlen (buf);
ret = es_fputs (buf, stream);
xfree (buf);
- return rt == EOF? ret : (int)i;
+ return rc == EOF? ret : (int)i;
}
else
return es_write_sanitized (stream, p, length, delimiters, bytes_written);