aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-05-05 16:53:05 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-05-05 16:53:05 +0200
commit9c629e534866169b1445bd6614233ded73ff0460 (patch)
treed495cda947b49582c084d766b9df71ba90e408f3 /lib/http.c
parentf0612f166a5fa51d09498baa19a327c5cf36941f (diff)
RTSP: cleanups
Made several functions static Made one function defined to nothing when RTSP is disabled to avoid the #ifdefs in code. Removed explicit rtsp.h includes
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/http.c b/lib/http.c
index cc8dcffa5..fe78b6dc3 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -96,7 +96,6 @@
#include "multiif.h"
#include "rawstr.h"
#include "content_encoding.h"
-#include "rtsp.h"
#include "http_proxy.h"
#include "warnless.h"
#include "non-ascii.h"
@@ -3314,13 +3313,12 @@ CURLcode Curl_http_readwrite_headers(struct SessionHandle *data,
}
}
}
-#ifndef CURL_DISABLE_RTSP
else if(conn->handler->protocol & CURLPROTO_RTSP) {
result = Curl_rtsp_parseheader(conn, k->p);
if(result)
return result;
}
-#endif
+
/*
* End of header-checks. Write them to the client.
*/