]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
mime: mention CURL_DISABLE_MIME in comment
authorErik Stenlund <erikstenlund@protonmail.com>
Tue, 19 Oct 2021 20:56:13 +0000 (22:56 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 19 Oct 2021 22:11:08 +0000 (00:11 +0200)
CURL_DISABLE_MIME is not mentioned in the comment describing the if else
preprocessor directive.

Closes #7882

lib/mime.c

index 110b740ffd9d0f027ea792a30b774dd32a16faec..f40cc1a618ac5339d4652c2e9ba2d92c3b38fd5c 100644 (file)
@@ -1955,7 +1955,8 @@ void Curl_mime_unpause(curl_mimepart *part)
 }
 
 
-#else /* !CURL_DISABLE_HTTP || !CURL_DISABLE_SMTP || !CURL_DISABLE_IMAP */
+#else /* !CURL_DISABLE_HTTP && !CURL_DISABLE_MIME ||
+         !CURL_DISABLE_SMTP || !CURL_DISABLE_IMAP */
 
 /* Mime not compiled in: define stubs for externally-referenced functions. */
 curl_mime *curl_mime_init(CURL *easy)