trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject git commit: TS-1887: fix SrcLoc build error
Date Fri, 10 May 2013 20:47:23 GMT
Updated Branches:
  refs/heads/master d2843e077 -> 885668bae


TS-1887: fix SrcLoc build error


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/885668ba
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/885668ba
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/885668ba

Branch: refs/heads/master
Commit: 885668bae769d70af61cd0697c8e63f93dd9a6b0
Parents: d2843e0
Author: James Peach <jpeach@apache.org>
Authored: Fri May 10 13:47:15 2013 -0700
Committer: James Peach <jpeach@apache.org>
Committed: Fri May 10 13:47:15 2013 -0700

----------------------------------------------------------------------
 proxy/Error.cc |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/885668ba/proxy/Error.cc
----------------------------------------------------------------------
diff --git a/proxy/Error.cc b/proxy/Error.cc
index b81fb87..5f25b77 100644
--- a/proxy/Error.cc
+++ b/proxy/Error.cc
@@ -53,8 +53,7 @@ void
 ErrorClass::raise(va_list ap, const char *prefix)
 {
   NOWARN_UNUSED(prefix);
-  SrcLoc loc;
-  loc.set(filename, function_name, line_number);
+  SrcLoc loc(filename, function_name, line_number);
   diags->print_va(NULL, DL_Fatal, &loc, format_string, ap);
 }
 


Mime
View raw message