Debian Codegraph @

debian/patches/04-parseint2.patch

raw
1 From 6caaaeb5b9be5ebcdc88b614bf23ff412749f7da Mon Sep 17 00:00:00 2001
2 From: Timo Schmid <[email protected]>
3 Date: Thu, 20 Feb 2014 15:43:20 +0100
4 Subject: [PATCH] fix parseInt2 expected number
5
6 checkEmptyParameter has read first number and didn't put them back.
7 parseInt2 reads ',' and complains about missing number.
8 ---
9 gsmlib/gsm_parser.cc | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/gsmlib/gsm_parser.cc b/gsmlib/gsm_parser.cc
13 index 6b055cd..fb616d4 100644
14 --- a/gsmlib/gsm_parser.cc
15 +++ b/gsmlib/gsm_parser.cc
16 @@ -50,8 +50,8 @@ bool Parser::checkEmptyParameter(bool allowNoParameter) throw(GsmException)
17 else
18 throwParseException(_("expected parameter"));
19
20 - putBackChar();
21 }
22 + putBackChar();
23 return false;
24 }
25