Added some frustrated comments.
authorFredrik Tolf <fredrik@dolda2000.com>
Mon, 26 Nov 2007 13:06:55 +0000 (14:06 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Mon, 26 Nov 2007 13:06:55 +0000 (14:06 +0100)
clients/gtk2/hublist.c

index 7342945..74910e5 100644 (file)
@@ -210,6 +210,7 @@ void fetchhublist(char *url, regex_t *flt)
     len = strlen(url);
     p = url + len;
     if((len > 4) && !strncmp(p - 4, ".bz2", 4)) {
+       /* Because using Transfer-Encoding would just be too good! */
        p -= 4;
        len -= 4;
        bzs = memset(smalloc(sizeof(*bzs)), 0, sizeof(*bzs));
@@ -222,6 +223,7 @@ void fetchhublist(char *url, regex_t *flt)
        }
     }
     if((len > 4) && !strncmp(p - 4, ".xml", 4)) {
+       /* Because using Content-Type would just be too good! */
        p -= 4;
        len -= 4;
        handler = pubhubxmlhandler;