[tor-commits] [tor/master] Small fix in tor_sscanf documentation

nickm at torproject.org nickm at torproject.org
Fri Mar 9 16:30:59 UTC 2012


commit 8a633a3ebd2250f296b166e1c57a130f5589db37
Author: Esteban Manchado Velázquez <emanchado at demiurgo.org>
Date:   Mon Feb 6 22:04:24 2012 +0100

    Small fix in tor_sscanf documentation
---
 src/common/util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/common/util.c b/src/common/util.c
index f35a796..99af58a 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -2759,7 +2759,7 @@ tor_vsscanf(const char *buf, const char *pattern, va_list ap)
 
 /** Minimal sscanf replacement: parse <b>buf</b> according to <b>pattern</b>
  * and store the results in the corresponding argument fields.  Differs from
- * sscanf in that it: Only handles %u and %x and %Ns.  Does not handle
+ * sscanf in that it: Only handles %u, %x, %c and %Ns.  Does not handle
  * arbitrarily long widths. %u and %x do not consume any space.  Is
  * locale-independent.  Returns -1 on malformed patterns.
  *





More information about the tor-commits mailing list