2009-11-09 Vladimir Serbinenko <phcoder@gmail.com>
* normal/auth.c (grub_auth_strcmp): Fixed incorrect variable usage.
This commit is contained in:
parent
c1129f0392
commit
7ad12f433d
2 changed files with 5 additions and 1 deletions
|
@ -40,7 +40,7 @@ grub_auth_strcmp (const char *user_input, const char *template)
|
|||
int ok = 1;
|
||||
const char *ptr1, *ptr2;
|
||||
|
||||
if (ptr2 == NULL)
|
||||
if (template == NULL)
|
||||
ok = 0;
|
||||
|
||||
for (ptr1 = user_input, ptr2 = template; *ptr1; ptr1++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue