Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
http: a little cleanup
  • Loading branch information
perexg committed Mar 23, 2015
1 parent b520cbe commit fc68ad0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/http.c
Expand Up @@ -226,8 +226,7 @@ http_send_header(http_connection_t *hc, int rc, const char *content,
htsbuf_queue_init(&hdrs, 0);

htsbuf_qprintf(&hdrs, "%s %d %s\r\n",
val2str(hc->hc_version, HTTP_versiontab),
rc, http_rc2str(rc));
http_ver2str(hc->hc_version), rc, http_rc2str(rc));

if (hc->hc_version != RTSP_VERSION_1_0)
htsbuf_qprintf(&hdrs, "Server: HTS/tvheadend\r\n");
Expand Down

0 comments on commit fc68ad0

Please sign in to comment.