You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ig...@apache.org on 2013/08/08 19:47:06 UTC
[11/15] git commit: make cacheurl compile ;)
make cacheurl compile ;)
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/04ccc822
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/04ccc822
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/04ccc822
Branch: refs/heads/consistent-gzip-error-msgs
Commit: 04ccc8221fe339881c8d7f858ee040dee2514da3
Parents: 10ff0ad
Author: Igor Galić <i....@brainsware.org>
Authored: Thu Aug 8 18:07:35 2013 +0200
Committer: Igor Galić <i....@brainsware.org>
Committed: Thu Aug 8 19:39:03 2013 +0200
----------------------------------------------------------------------
plugins/cacheurl/cacheurl.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/04ccc822/plugins/cacheurl/cacheurl.c
----------------------------------------------------------------------
diff --git a/plugins/cacheurl/cacheurl.c b/plugins/cacheurl/cacheurl.c
index fca6df4..db165d5 100644
--- a/plugins/cacheurl/cacheurl.c
+++ b/plugins/cacheurl/cacheurl.c
@@ -257,12 +257,9 @@ static pr_list* load_config_file(const char *config_file) {
* buffer is the first part of the line. spend is the second part just
* after the whitespace */
if (log) {
- TSTextLogObjectWrite(log,
- "Adding pattern/replacement pair: '%s' -> '%s'",
- buffer, spend);
+ TSTextLogObjectWrite(log, "Adding pattern/replacement pair: '%s' -> '%s'", buffer, spend);
}
- TSDebug(
- buffer, spend);
+ TSDebug("Adding pattern/replacement pair: '%s' -> '%s'\n", buffer, spend);
retval = regex_compile(&info, buffer, spend);
if (!retval) {
TSLogError("Unable to precompile regex/replacement. Skipping.");