Removed superfluous debugging information
This commit is contained in:
parent
b980bfbbf6
commit
84133281ea
@ -880,7 +880,6 @@ static void _http_response(GConnHttpEventResponse * event, GHtmlConn * conn)
|
|||||||
if(strncmp(event->header_values[i], "image/", 6) != 0)
|
if(strncmp(event->header_values[i], "image/", 6) != 0)
|
||||||
return;
|
return;
|
||||||
conn->image = 1;
|
conn->image = 1;
|
||||||
fprintf(stderr, "DEBUG: image found\n");
|
|
||||||
snprintf(buf, sizeof(buf), "<img src=\"%s\">\n", conn->url);
|
snprintf(buf, sizeof(buf), "<img src=\"%s\">\n", conn->url);
|
||||||
html_stream_write(conn->stream, buf, strlen(buf));
|
html_stream_write(conn->stream, buf, strlen(buf));
|
||||||
_ghtmlconn_delete(conn);
|
_ghtmlconn_delete(conn);
|
||||||
|
Loading…
Reference in New Issue
Block a user