diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2011-07-28 12:41:44 -0700 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2011-07-28 12:41:44 -0700 |
commit | 435e2bc75797b14bc27dc4048b7fa1f3caa446f1 (patch) | |
tree | ceba8092a03d071edf204f4cd723ff4dacf978ca /tests | |
parent | 99848d3dab864f7ca51e977ec64d5ce9bafbe41b (diff) |
Removed an extraneous \n that violated the SSO daemon protocol
This caused fake_ntlm to abort due to an invalid command
causing sporadic test 2005 failures.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/server/fake_ntlm.c | 2 |
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) { |