aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/server/fake_ntlm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/fake_ntlm.c b/tests/server/fake_ntlm.c
index 2fff0b3e8..53f79c059 100644
--- a/tests/server/fake_ntlm.c
+++ b/tests/server/fake_ntlm.c
@@ -220,7 +220,7 @@ int main(int argc, char *argv[])
}
}
- while(fgets(buf, 1024, stdin)) {
+ while(fgets(buf, sizeof(buf), stdin)) {
if(strcmp(buf, type1_input) == 0) {
stream=fopen(filename, "rb");
if(!stream) {