New vwrsions

This commit is contained in:
Massimiliano Pinto
2013-06-24 19:48:48 +02:00
parent 626699170f
commit 8f53daa09a
3 changed files with 27 additions and 9 deletions

View File

@ -87,6 +87,8 @@ load_mysql_users(SERVICE *service)
while ((row = mysql_fetch_row(result))) {
// we assume here two fields are returned !!!
//printf("User %s , Passwd %s\n", row[0], row[1]);
// now adding to the hastable user and passwd+1 (escaping the first byte that is '*')
users_add(service->users, row[0], row[1]+1);
total_users++;
}