18.01.2016, 14:24
First of all, you declared pass1 and pass2 as a string of length 128 chars, and while using sscanf to get them out of the command-parameters, you use them as if they were integers.
And checking if strings are equal, isn't done through "strval(string)", but you use "strcmp" for that.
And checking if strings are equal, isn't done through "strval(string)", but you use "strcmp" for that.