[tor-commits] [tor/master] Fix typo in buffers.c.

nickm at torproject.org nickm at torproject.org
Thu Sep 28 22:57:11 UTC 2017


commit a196fdb622590baaed46de0719daa151086c0ed6
Author: Alexander Færøy <ahf at torproject.org>
Date:   Thu Sep 28 15:14:50 2017 +0200

    Fix typo in buffers.c.
---
 src/common/buffers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/buffers.c b/src/common/buffers.c
index bf10c5596..e9e448783 100644
--- a/src/common/buffers.c
+++ b/src/common/buffers.c
@@ -964,7 +964,7 @@ buf_get_line(buf_t *buf, char *data_out, size_t *data_len)
   return 1;
 }
 
-/** Compress on uncompress the <b>data_len</b> bytes in <b>data</b> using the
+/** Compress or uncompress the <b>data_len</b> bytes in <b>data</b> using the
  * compression state <b>state</b>, appending the result to <b>buf</b>.  If
  * <b>done</b> is true, flush the data in the state and finish the
  * compression/uncompression.  Return -1 on failure, 0 on success. */





More information about the tor-commits mailing list