From a66b69154e4a3a26fa5c0ac719a8e7f8f58ba00b Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Wed, 1 Aug 2018 18:24:43 -0500 Subject: [PATCH] Lint fixes. --- hostname.c | 1 + main.c | 3 ++- seturl.c | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hostname.c b/hostname.c index 22f0fc4..05bc32c 100644 --- a/hostname.c +++ b/hostname.c @@ -1,5 +1,6 @@ #include #include +#include #include "hostname.h" #define DNR_WAIT_TIME 15 /*seconds*/ diff --git a/main.c b/main.c index 4e11509..7b1c876 100644 --- a/main.c +++ b/main.c @@ -10,6 +10,7 @@ #include "session.h" #include "seturl.h" #include "hostname.h" +#include "tcpconnection.h" /* http://archive.org/download/a2gs_System_1.0_1986_Apple_FW/System_1.0_1986_Apple_FW.2mg @@ -57,7 +58,7 @@ int main(int argc, char **argv) { putchar(ch); } printf("=========\n"); - printf("\n", i); + printf("\n"); enum RequestResult requestResult; requestResult = DoHTTPRequest(&sess, startByte, startByte + 511); diff --git a/seturl.c b/seturl.c index ba8b237..de2484a 100644 --- a/seturl.c +++ b/seturl.c @@ -1,5 +1,7 @@ #include #include +#include +#include #include "session.h" #include "urlparser.h" #include "strcasecmp.h"