common: Fix parsing SS control string
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Wed, 22 May 2013 21:28:38 +0000 (18:28 -0300)
committerDenis Kenzior <denkenz@gmail.com>
Thu, 23 May 2013 02:40:19 +0000 (21:40 -0500)
commit53a0fa8c7cd5c108613a09004c906c2cc7420b86
tree2a3679c5d253973dd1390e488fd2d5af1cd395c3
parent816b6946f7c212cba4504d8ebaf0d5ca21fd9ba4
common: Fix parsing SS control string

It's not possible to be both greater than '9' and less than '0'. This
would lead to accepting things like "#$33#" as activation and "*$33#" as
deactivation, even though the string makes no sense.
src/common.c