hdt: fix arguments parsing
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Thu, 5 Nov 2009 06:46:45 +0000 (22:46 -0800)
committerErwan Velu <erwan.velu@free.fr>
Thu, 5 Nov 2009 15:33:41 +0000 (16:33 +0100)
commit4aa50123413d6195309ceecef510a28e2172a990
treeae0f51691d76a5367b9b744ceab8e593c73339af
parent83f00102e7c1072e8828defbf7d090d0aca1a7b3
hdt: fix arguments parsing

Do not increment the argument counter in the loop after having found
the last auto= argument. It is taken care of by the for.
With it, an extra argument after the auto= string will be ignored.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/hdt/hdt-common.c