[hamradio-commits] [dump1090] 33/389: HTTP: Set clen correctly when serving gmap.html.

Matthew Ernisse mernisse-guest at moszumanska.debian.org
Wed Nov 5 00:19:37 UTC 2014


This is an automated email from the git hooks/post-receive script.

mernisse-guest pushed a commit to branch master
in repository dump1090.

commit 42eb9906855406fbeb9f410706b29b358cd02094
Author: antirez <antirez at gmail.com>
Date:   Mon Jan 14 20:25:11 2013 +0100

    HTTP: Set clen correctly when serving gmap.html.
---
 dump1090.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dump1090.c b/dump1090.c
index 3323515..e168a98 100644
--- a/dump1090.c
+++ b/dump1090.c
@@ -1854,6 +1854,7 @@ void handleHTTPRequest(struct client *c) {
         {
             content = malloc(sbuf.st_size);
             read(fd,content,sbuf.st_size);
+            clen = sbuf.st_size;
         } else {
             char buf[128];
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090.git



More information about the pkg-hamradio-commits mailing list