tor_vsscanf(): Don't return -1 if '%%' doesn't match.

tor_vsscanf() is supposed to return the current number of matches on
match failure.
This commit is contained in:
George Kadianakis
2012-04-03 16:20:24 +02:00
parent 42143979d8
commit b80728a115
3 changed files with 9 additions and 2 deletions
+3
View File
@@ -0,0 +1,3 @@
o Minor bugfixes
- Enforce correct return behavior of tor_vsscanf(), when the '%%'
pattern is used. Fixes bug 5558.