23.07.2014, 03:11
You only created a variable called 'ID' but you didnt store 'target' id in the variable 'ID'.
You just created 'ID' without storing anything in it, so its value is going to be 0.
Use sscanf in both commands.
You just created 'ID' without storing anything in it, so its value is going to be 0.
Use sscanf in both commands.