[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Improve log message on unrecognized encoding to indicate th...
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] Improve log message on unrecognized encoding to indicate th...
- From: nickm@xxxxxxxx (Nick Mathewson)
- Date: Wed, 23 Feb 2005 17:14:37 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Wed, 23 Feb 2005 17:14:57 -0500
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv25434/src/or
Modified Files:
directory.c
Log Message:
Improve log message on unrecognized encoding to indicate that we can cope.
Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.212
retrieving revision 1.213
diff -u -d -r1.212 -r1.213
--- directory.c 10 Feb 2005 23:18:39 -0000 1.212
+++ directory.c 23 Feb 2005 22:14:34 -0000 1.213
@@ -545,7 +545,7 @@
} else if (!strcmp(enc, "gzip") || !strcmp(enc, "x-gzip")) {
*compression = GZIP_METHOD;
} else {
- log_fn(LOG_INFO, "Unrecognized content encoding: '%s'", enc);
+ log_fn(LOG_INFO, "Unrecognized content encoding: '%s'. Trying to deal.", enc);
*compression = -1;
}
}