Переглянути джерело

mhd_send: clarification of comment

Evgeny Grin (Karlson2k) 5 роки тому
батько
коміт
9599a5ea76
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      src/microhttpd/mhd_send.c

+ 3 - 3
src/microhttpd/mhd_send.c

@@ -279,9 +279,9 @@ pre_send_setopt (struct MHD_Connection *connection,
   }
 
   /* Need to push data after send() */
-  /* Prefer to make additional sys-call after the send()
-   * as the next send() may consume only part of the
-   * prepared data and additional send() may be required. */
+  /* If additional sys-call is required prefer to make it after the send()
+   * as the next send() may consume only part of the prepared data and
+   * more send() calls will be used. */
 #ifdef MHD_TCP_CORK_NOPUSH
 #ifdef _MHD_CORK_RESET_PUSH_DATA
 #ifdef _MHD_CORK_RESET_PUSH_DATA_ALWAYS