[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Unrecognized encoding is an info, not a warn. (maint fix)
Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv25580/src/or
Modified Files:
Tag: tor-0_0_9-patches
directory.c
Log Message:
Unrecognized encoding is an info, not a warn. (maint fix)
Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.181.2.14
retrieving revision 1.181.2.15
diff -u -d -r1.181.2.14 -r1.181.2.15
--- directory.c 4 Feb 2005 01:09:29 -0000 1.181.2.14
+++ directory.c 23 Feb 2005 22:15:33 -0000 1.181.2.15
@@ -537,8 +537,8 @@
} else if (!strcmp(enc, "gzip") || !strcmp(enc, "x-gzip")) {
*compression = GZIP_METHOD;
} else {
- log_fn(LOG_WARN, "Unrecognized content encoding: '%s'", enc);
- *compression = 0;
+ log_fn(LOG_INFO, "Unrecognized content encoding: '%s'. Trying to deal.", enc);
+ *compression = -1;
}
}
SMARTLIST_FOREACH(parsed_headers, char *, s, tor_free(s));