From 8acf33007053d9e0ca8762fec3c007287230dc4d Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Thu, 15 Oct 2009 13:51:26 +0200 Subject: [PATCH] + --- CHANGESTODO | 6 ++++++ world/net/http/fetch.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGESTODO b/CHANGESTODO index 0e4c44b..c632db6 100644 --- a/CHANGESTODO +++ b/CHANGESTODO @@ -3972,3 +3972,9 @@ net/irc - bugfix from fippo concerning alias interpretation include/net.h - the efun has changed from stringprep() to idna_stringprep() +=== 200910 ============================================================ +irc/user +- handle root messages +jabber/* +- deal with < and > in status updates + diff --git a/world/net/http/fetch.c b/world/net/http/fetch.c index 4f3ebb0..cd5b1a1 100644 --- a/world/net/http/fetch.c +++ b/world/net/http/fetch.c @@ -103,7 +103,7 @@ varargs int real_logon(int failure) { // emit("If-None-Match: " + etag + "\r\n"); // we won't need connection: close w/ http/1.0 //emit("Connection: close\r\n\r\n"); - P1(("%O fetching /%s from %O\n", ME, resource, host)) + P2(("%O fetching /%s from %O\n", ME, resource, host)) P4(("%O using %O\n", ME, buffer)) emit("GET /"+ resource +" HTTP/1.0\r\n" "Host: "+ host +"\r\n" @@ -137,7 +137,7 @@ int parse_status(string all) { sscanf(all, "%s%t%s", prot, state); sscanf(state, "%d%t%s", http_status, http_message); if (http_status != R_OK) { - P1(("%O got %O %O from %O\n", ME, + P0(("%O got %O %O from %O\n", ME, http_status, http_message, host)); monitor_report("_failure_unsupported_code_HTTP", S("http/fetch'ing %O returned %O %O", url || ME,