summaryrefslogtreecommitdiff
path: root/src/libwaitress
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2011-09-18 21:13:07 +0200
committerLars-Dominik Braun <lars@6xq.net>2011-11-09 20:10:03 +0100
commit41b4447b602a56e8438bcf8fb3c9d73c2aa4ece2 (patch)
tree17081c134c7054e3aef52b2affc50a59ad1490c4 /src/libwaitress
parent1d5eaa0ad0964cdc30c88c06167ca242de9f8317 (diff)
downloadpianobar-windows-41b4447b602a56e8438bcf8fb3c9d73c2aa4ece2.tar.gz
pianobar-windows-41b4447b602a56e8438bcf8fb3c9d73c2aa4ece2.tar.bz2
pianobar-windows-41b4447b602a56e8438bcf8fb3c9d73c2aa4ece2.zip
waitress: remove unused return code
Diffstat (limited to 'src/libwaitress')
-rw-r--r--src/libwaitress/waitress.c4
-rw-r--r--src/libwaitress/waitress.h2
2 files changed, 1 insertions, 5 deletions
diff --git a/src/libwaitress/waitress.c b/src/libwaitress/waitress.c
index 6aa43fc..75db79f 100644
--- a/src/libwaitress/waitress.c
+++ b/src/libwaitress/waitress.c
@@ -801,10 +801,6 @@ const char *WaitressErrorToStr (WaitressReturn_t wRet) {
return "Callback aborted request.";
break;
- case WAITRESS_RET_HDR_OVERFLOW:
- return "HTTP header overflow.";
- break;
-
case WAITRESS_RET_PARTIAL_FILE:
return "Partial file.";
break;
diff --git a/src/libwaitress/waitress.h b/src/libwaitress/waitress.h
index 7d8ede6..7ef86a1 100644
--- a/src/libwaitress/waitress.h
+++ b/src/libwaitress/waitress.h
@@ -59,7 +59,7 @@ typedef struct {
typedef enum {WAITRESS_RET_ERR = 0, WAITRESS_RET_OK, WAITRESS_RET_STATUS_UNKNOWN,
WAITRESS_RET_NOTFOUND, WAITRESS_RET_FORBIDDEN, WAITRESS_RET_CONNECT_REFUSED,
WAITRESS_RET_SOCK_ERR, WAITRESS_RET_GETADDR_ERR,
- WAITRESS_RET_CB_ABORT, WAITRESS_RET_HDR_OVERFLOW,
+ WAITRESS_RET_CB_ABORT,
WAITRESS_RET_PARTIAL_FILE, WAITRESS_RET_TIMEOUT, WAITRESS_RET_READ_ERR,
WAITRESS_RET_CONNECTION_CLOSED
} WaitressReturn_t;