[qmailadmin] [SPAM] Re: [qmailadmin] Patching qmailadmin to compare username and passwords

2012-06-04 Thread Simone Lazzaris
In data domenica 3 giugno 2012 21:25:51, Adam Lyle ha scritto: Greetings, I'll start by saying that I am not a C programmer, but I have been looking through the source code trying to get this functionality to work. Here's my end goal. The username is converted to lowercase The password

[qmailadmin] [SPAM] RE: [qmailadmin] [SPAM] Patching qmailadmin to compare username and passwords

2012-06-04 Thread Tom Collins
I can't recall the API for GetValue, but the call there doesn't look correct. There should have been some compiler errors in there... Is the fourth parameter the size of the buffer at the second parameter? If so, keep it set to sizeof Newu, or however you see it in other function calls. And

Re: [qmailadmin] [SPAM] RE: [qmailadmin] [SPAM] Patching qmailadmin to compare username and passwords

2012-06-04 Thread Adam Lyle
Tom, I actually did try using a sizeof parameter, but that gave me compile errors. As I said, I'm not a C guy, so it is more than likely user error/misunderstanding. Thank you for pointing me into the right direction though, util.c does have a function already; loweri(). Incase anyone is curious