summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Linehan <patientulysses@gmail.com>2012-06-09 14:31:53 -0400
committerJason Linehan <patientulysses@gmail.com>2012-06-09 14:31:53 -0400
commit0722a90cf24759f9b8729999db1f2be536df34fd (patch)
treedf52fcbdc2eeb1cb2006f2e234565c4cf049039d
parenta89b6e8342f46138d6e089ddd56d8c758447393e (diff)
downloadcloth-0722a90cf24759f9b8729999db1f2be536df34fd.tar.gz
cloth-0722a90cf24759f9b8729999db1f2be536df34fd.tar.bz2
cloth-0722a90cf24759f9b8729999db1f2be536df34fd.zip
Changed HTTP error
-rw-r--r--cloth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloth.c b/cloth.c
index 7b0893c..aba3caa 100644
--- a/cloth.c
+++ b/cloth.c
@@ -142,7 +142,7 @@ void log(enum log_genre genre, char *msg, char *raw, int socket)
sprintf(buf, "OOPS: %s ERRNO %d", msg, errno);
break;
case WARN:
- sprintf(buf, "<html><body>cloth: %s</body></html>\r", msg);
+ sprintf(buf, "cloth says: %s\r", msg);
write(socket, buf, strlen(buf));
sprintf(buf, "WARN: %s %s", msg, log_entry);
break;