31.01.2013, 04:51
First if all, remove sscanf from this code as it is unnecessary. Secondly, take a look at your strcmp statements, they are the same. For the second if statement, remove the if and just make it "else". Also replace rezimas with params and it should be fine.