Code

contextswitch plugin: Only submit if we actually did find a value.
authorFlorian Forster <octo@huhu.verplant.org>
Fri, 2 Oct 2009 07:44:27 +0000 (09:44 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Fri, 2 Oct 2009 07:44:27 +0000 (09:44 +0200)
commit4f0c7b9794d0ea888123502418545c8f1ff3fc9f
tree908c2a19d4f20652cf4b31228277da661b1f2ab2
parent051f794c1647dadee44a3d345c5a6e178bbca5a9
contextswitch plugin: Only submit if we actually did find a value.

Also makes parsing more robust (strncmp would allow for garbage after the key,
strtoul does not overflow when given an invalid string).
src/contextswitch.c