Fixed stupid typo.
authorWerner Koch <wk@gnupg.org>
Thu, 25 Jun 2009 14:10:14 +0000 (14:10 +0000)
committerWerner Koch <wk@gnupg.org>
Thu, 25 Jun 2009 14:10:14 +0000 (14:10 +0000)
common/ChangeLog
common/estream.c

index dd2db13..aa04a3d 100644 (file)
@@ -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
index d355775..255070b 100644 (file)
@@ -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);