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 + + * estream.c (es_write_sanitized_utf8_buffer): Typo fix. + 2009-06-24 Werner Koch * 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);