cURL / Mailing Lists / curl-library / Single Mail

curl-library

minor patch for multi.h

From: Mohun Biswas <m_biswas_at_mailinator.com>
Date: Mon, 17 Oct 2005 19:32:18 -0400

This is not exactly critical, but a bit of missing whitespace in
curl/multi.h can cause a warning from the GNU 'indent' program:

indent: Standard input:5163: Warning:old style assignment ambiguity in
"=-". Assuming "= -"

Attached is a patch which adds whitespace to clarify.

Thanks,
MB

--- multi.h@@/main/1 Mon May 16 17:25:39 2005
+++ multi.h Mon Oct 17 19:27:10 2005
@@ -91,7 +91,7 @@
 #endif /* HAVE_CURL_MULTI_SOCKET */
 
 typedef enum {
- CURLM_CALL_MULTI_PERFORM=-1, /* please call curl_multi_perform() soon */
+ CURLM_CALL_MULTI_PERFORM = -1, /* please call curl_multi_perform() soon */
   CURLM_OK,
   CURLM_BAD_HANDLE, /* the passed-in handle is not a valid CURLM handle */
   CURLM_BAD_EASY_HANDLE, /* an easy handle was not good/valid */
Received on 2005-10-18