(sql_expand_query): Bugfix

git-svn-id: file:///svnroot/pam-modules/trunk@36 56984be4-0537-0410-a56c-fcb268c96130
This commit is contained in:
Sergey Poznyakoff 2006-09-06 13:06:29 +00:00
parent 331da3dd57
commit c2e4becb13
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@ sql_expand_query (const char *query, const char *user, const char *pass)
esc_user = sql_escape_string(user);
len += strlen (esc_user);
p += 2;
} if (p[1] == 'u') {
} if (p[1] == 'p') {
esc_pass = sql_escape_string(pass);
len += strlen (esc_pass);
p += 2;