]> granicus.if.org Git - rtmpdump/commitdiff
Spell Referer according to RFC1945
authorHoward Chu <hyc@highlandsun.com>
Tue, 8 Nov 2011 10:05:01 +0000 (02:05 -0800)
committerHoward Chu <hyc@highlandsun.com>
Tue, 8 Nov 2011 10:05:01 +0000 (02:05 -0800)
librtmp/hashswf.c

index 5576730f1413b2d01acabe18c368779c6b4be736..0320480486187f7a3b22ca841b8b9d77146d5919 100644 (file)
@@ -141,7 +141,7 @@ HTTP_get(struct HTTP_ctx *http, const char *url, HTTP_read_callback *cb)
     return HTTPRES_LOST_CONNECTION;
   i =
     sprintf(sb.sb_buf,
-           "GET %s HTTP/1.0\r\nUser-Agent: %s\r\nHost: %s\r\nReferrer: %.*s\r\n",
+           "GET %s HTTP/1.0\r\nUser-Agent: %s\r\nHost: %s\r\nReferer: %.*s\r\n",
            path, AGENT, host, (int)(path - url + 1), url);
   if (http->date[0])
     i += sprintf(sb.sb_buf + i, "If-Modified-Since: %s\r\n", http->date);