]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
file: fix icc enumerated type mixed with another type warning
authorDaniel Stenberg <daniel@haxx.se>
Tue, 19 Jul 2022 14:45:30 +0000 (16:45 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 19 Jul 2022 16:10:08 +0000 (18:10 +0200)
Ref: #9179
Closes #9181

lib/file.c

index 40a5e42fa340543037922ebd59553c327a29f1fc..15d7f3e57a6f4a7506f048a37628a737e7e13aa3 100644 (file)
@@ -236,7 +236,7 @@ static CURLcode file_disconnect(struct Curl_easy *data,
 {
   (void)dead_connection; /* not used */
   (void)conn;
-  return file_done(data, 0, 0);
+  return file_done(data, CURLE_OK, FALSE);
 }
 
 #ifdef DOS_FILESYSTEM