aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Isom <coder@kyleisom.net>2012-07-07 18:38:32 -0600
committerKyle Isom <coder@kyleisom.net>2012-07-07 18:38:32 -0600
commit38c4ab74241618a8f5dcdb69cffb81358de0847e (patch)
tree4145427d317ca4957c6849e04a2892558ecde902
parentfe9e528d655632eeb3fa510f3384a2bdf5c978ec (diff)
downloadsrvwd-38c4ab74241618a8f5dcdb69cffb81358de0847e.tar.gz
srvwd-38c4ab74241618a8f5dcdb69cffb81358de0847e.tar.bz2
srvwd-38c4ab74241618a8f5dcdb69cffb81358de0847e.zip
cleaning up some debug outputHEADmaster
-rw-r--r--content.c3
-rw-r--r--response.c1
-rw-r--r--server.c1
3 files changed, 0 insertions, 5 deletions
diff --git a/content.c b/content.c
index 5385a67..bbb9433 100644
--- a/content.c
+++ b/content.c
@@ -115,9 +115,6 @@ content_type_to_str(CONTENT_TYPE ct)
ct_str = NULL;
}
- if (ct_str)
- warnx("content-type: %s", ct_str);
-
return ct_str;
}
diff --git a/response.c b/response.c
index 02e9892..b4ebb93 100644
--- a/response.c
+++ b/response.c
@@ -105,7 +105,6 @@ send_client_file(int clientfd, char *filename, request_type rtype)
snprintf(buf, SRVWD_CHUNKSIZE, headerstpl, ct_str, st.st_size,
srvwd_VERSION);
headerslen = strlen(buf);
- warnx("content-type: %s", ct_str);
if (NULL != ct_str) {
free(ct_str);
diff --git a/server.c b/server.c
index 99e66e0..c1c664c 100644
--- a/server.c
+++ b/server.c
@@ -110,7 +110,6 @@ init_srvwd(char *path, char *user, char *group)
if (NULL == getcwd(server_root, SRVWD_ROOT_LEN))
errx(EX_OSERR, "failed to get current working directory!");
- printf("[+] server root: %s\n", server_root);
if (0 == strncmp(server_root, "/", 2))
server_root[0] = '\0';