parser: match on length of argument, not potential value
authorJens Axboe <jaxboe@fusionio.com>
Fri, 18 Jun 2010 12:28:53 +0000 (14:28 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 18 Jun 2010 12:28:53 +0000 (14:28 +0200)
commit7b4cb1320928bdea2360cf36fc45c83700052d43
tree605e0a2835e3cb6fde50fb873ea05a1a5d545423
parent936216f8cd8ae2261282453d82a2a8232bb4db45
parser: match on length of argument, not potential value

Otherwise we match subset of a string, that doesn't always
work well.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
parse.c