diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-04-03 22:35:43 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-04-03 22:38:36 +0200 |
commit | a332c4f769dc25bdc57ebb88bccef03d7ca6b258 (patch) | |
tree | bb555dd587a6cac23d369843983fdb7fd6848a73 /tests/server/getpart.c | |
parent | a71012c03ef6a7cbfba69bcafb559fa417c49af0 (diff) | |
download | curl-a332c4f769dc25bdc57ebb88bccef03d7ca6b258.tar.gz |
tests/server: comply with our code style
Diffstat (limited to 'tests/server/getpart.c')
-rw-r--r-- | tests/server/getpart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/server/getpart.c b/tests/server/getpart.c index 0642564eb..960fbaa50 100644 --- a/tests/server/getpart.c +++ b/tests/server/getpart.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -101,7 +101,7 @@ static int readline(char **buffer, size_t *bufsize, FILE *stream) int bytestoread = curlx_uztosi(*bufsize - offset); if(!fgets(*buffer + offset, bytestoread, stream)) - return (offset != 0) ? GPE_OK : GPE_END_OF_FILE ; + return (offset != 0) ? GPE_OK : GPE_END_OF_FILE; length = offset + strlen(*buffer + offset); if(*(*buffer + length - 1) == '\n') |