From 2bd0c1b420a2f3cf3ef58fe41599d5b18e20e4ed Mon Sep 17 00:00:00 2001 From: Kyle K Date: Mon, 29 Aug 2011 20:20:44 -0500 Subject: tcpclient: remove trailing whitespace --- tcpclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tcpclient.c') diff --git a/tcpclient.c b/tcpclient.c index 3410b97..f2a2fc7 100644 --- a/tcpclient.c +++ b/tcpclient.c @@ -60,7 +60,7 @@ int main(int argc, char **argv) char *filepart = strrchr(pathstr, '/'); if (filepart && strlen(filepart + 1)) strcpy(filestr, filepart + 1); - else + else strcpy(filestr, "index.html"); printf("file is: \"%s\"\n", filestr); @@ -189,7 +189,7 @@ int main(int argc, char **argv) /* poke at http header and check for errors */ int code; sscanf(recv_buff, "HTTP/1.%*[01] %d ", &code); - if (code == 200) + if (code == 200) printf("received file\n"); else { -- cgit v1.2.3