mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-13 07:56:30 +00:00
Merge pull request #781 from ggtakec/master
Fixed an error by cppcheck on OSX
This commit is contained in:
commit
4a7c4a9e9d
@ -1633,10 +1633,10 @@ int S3fsCurl::CurlDebugFunc(CURL* hcurl, curl_infotype type, char* data, size_t
|
||||
int newline = 0;
|
||||
if (eol == NULL) {
|
||||
eol = (char*)memchr(p, '\r', remaining);
|
||||
} else if (eol > p && *(eol - 1) == '\r') {
|
||||
newline++;
|
||||
}
|
||||
if (eol != NULL) {
|
||||
} else {
|
||||
if (eol > p && *(eol - 1) == '\r') {
|
||||
newline++;
|
||||
}
|
||||
newline++;
|
||||
eol++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user