aboutsummaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-03-17 13:05:01 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-03-17 13:05:01 +0100
commita6b8fe2a5f6f18bd1a6fd0767a961fa1e87aba3e (patch)
tree2ec419b11c482a34aaa1229b2ef0b12968ceecd0 /lib/sendf.c
parent3dbe12a1e9eb7fc4b4a4172c244c460d3e021143 (diff)
checksrc: use space before paren in "return (expr);"
Diffstat (limited to 'lib/sendf.c')
-rw-r--r--lib/sendf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index 812f69dae..96899f466 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -52,7 +52,7 @@ static size_t convert_lineends(struct SessionHandle *data,
/* sanity check */
if((startPtr == NULL) || (size < 1)) {
- return(size);
+ return size;
}
if(data->state.prev_block_had_trailing_cr) {
@@ -114,9 +114,9 @@ static size_t convert_lineends(struct SessionHandle *data,
/* tidy up by null terminating the now shorter data */
*outPtr = '\0';
- return(outPtr - startPtr);
+ return (outPtr - startPtr);
}
- return(size);
+ return size;
}
#endif /* CURL_DO_LINEEND_CONV */