mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
LibC: Make scanf() not increment the assignment count for %n
This commit is contained in:
parent
f142b43e89
commit
0615a4d42a
Notes:
sideshowbarker
2024-07-18 22:57:59 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/0615a4d42aa Pull-request: https://github.com/SerenityOS/serenity/pull/6900 Reviewed-by: https://github.com/alimpfard ✅
1 changed files with 0 additions and 1 deletions
|
@ -612,7 +612,6 @@ extern "C" int vsscanf(const char* input, const char* format, va_list ap)
|
|||
auto* ptr = va_arg(ap, int*);
|
||||
*ptr = input_lexer.tell();
|
||||
}
|
||||
++elements_matched;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue