Fixed now and committed at the same time. Current svn trunk revision is now 46. Thanks for reporting this bug.
== Rene -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of ?????? ??????? Sent: Sunday, 22 August, 2010 00:26 To: [email protected] Subject: SMPPBOX BUG in function check_login : success = (strcmp(octstr_get_cstr(system_id), systemid) == 0 && strcmp(octstr_get_cstr(password), passw) == 0 && strcmp(octstr_get_cstr(system_type), systemtype)); this never return 1 if all OK . Somebody forget " == 0" change it to success = (strcmp(octstr_get_cstr(system_id), systemid) == 0 && strcmp(octstr_get_cstr(password), passw) == 0 && strcmp(octstr_get_cstr(system_type), systemtype) == 0);
