20.05.2014, 13:55
You need to explain more in some parts. Saying "Add this and that" doesn't help that much.
Also since you stated that strtok is bad (and it is indeed) and you used sscanf. You should've used ZCMD or y_commands instead of dcmd (yes - it's slower).
Also since you stated that strtok is bad (and it is indeed) and you used sscanf. You should've used ZCMD or y_commands instead of dcmd (yes - it's slower).