All pastes #1883594 Raw Edit

enkidu

public diff v1 · immutable
#1883594 ·published 2010-06-15 13:42 UTC
rendered paste body
--- ffserver.c.old	2010-06-15 15:36:46.684262796 +0200+++ ffserver.c	2010-06-15 15:32:01.967265393 +0200@@ -2064,7 +2064,7 @@                  current_bandwidth, max_bandwidth);      url_fprintf(pb, "<table>\n");-    url_fprintf(pb, "<tr><th>#<th>File<th>IP<th>Proto<th>State<th>Target bits/sec<th>Actual bits/sec<th>Bytes transferred\n");+    url_fprintf(pb, "<tr><th>#<th>File<th>IP<th>Port<th>Proto<th>State<th>Target bits/sec<th>Actual bits/sec<th>Bytes transferred\n");     c1 = first_http_ctx;     i = 0;     while (c1 != NULL) {@@ -2083,11 +2083,12 @@          i++;         p = inet_ntoa(c1->from_addr.sin_addr);-        url_fprintf(pb, "<tr><td><b>%d</b><td>%s%s<td>%s<td>%s<td>%s<td align=right>",+        url_fprintf(pb, "<tr><td><b>%d</b><td>%s%s<td align=right>%s</td><td>:%d<td>%s<td>%s<td align=right>",                     i,                     c1->stream ? c1->stream->filename : "",                     c1->state == HTTPSTATE_RECEIVE_DATA ? "(input)" : "",                     p,+                    c1->from_addr.sin_port,                     c1->protocol,                     http_state[c1->state]);         fmt_bytecount(pb, bitrate);