commit 8ac1c0ae3263f199c44aed632261c0f387eef740
parent a0f571965211aa5f42c4af58a3baad88748405dd
Author: Kyle Milz <krwmilz@gmail.com>
Date: Mon, 20 Sep 2021 16:13:43 +0000
add functions to #include comments
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/http.c b/http.c
@@ -14,19 +14,19 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/types.h>
+#include <sys/types.h> /* getaddrinfo() */
#include <sys/socket.h> /* connect(), socket() */
#include <netdb.h> /* getaddrinfo() */
#include <assert.h>
#include <err.h> /* err() */
-#include <string.h> /* strtok(), strsep() */
+#include <string.h> /* strtok(), strsep(), strstr() */
#include <unistd.h> /* close() */
#include <openssl/err.h> /* ERR_load_crypto_strings() */
#include <openssl/evp.h> /* OpenSSL_add_all_algorithms() */
-#include <openssl/ssl.h>
+#include <openssl/ssl.h> /* SSL_read(), SSL_write() */
#include "popups.h" /* warning_popup_long() */
#include "util.h" /* xmalloc() */