change pass
#3

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.
Reply


Messages In This Thread
change pass - by GeneralAref - 18.01.2016, 12:17
Re: change pass - by Vince - 18.01.2016, 13:19
Re: change pass - by AmigaBlizzard - 18.01.2016, 14:24

Forum Jump:


Users browsing this thread: 1 Guest(s)