[Liblas-commits] hg: oh, I see -- fix the error string getter object

liblas-commits at liblas.org liblas-commits at liblas.org
Fri Jun 24 20:07:13 EDT 2011


details:   http://hg.liblas.orghg/rev/4e2d47c581e6
changeset: 3020:4e2d47c581e6
user:      Michael P. Gerlek <mpg at flaxen.com>
date:      Fri Jun 24 17:07:07 2011 -0700
description:
oh, I see -- fix the error string getter object

diffstat:

 src/detail/reader/zipreader.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 70d5a87b9c34 -r 4e2d47c581e6 src/detail/reader/zipreader.cpp
--- a/src/detail/reader/zipreader.cpp	Fri Jun 24 16:56:19 2011 -0700
+++ b/src/detail/reader/zipreader.cpp	Fri Jun 24 17:07:07 2011 -0700
@@ -146,7 +146,7 @@
         if (!stat)
         {
             std::ostringstream oss;
-            const char* err = m_zip->get_error();
+            const char* err = m_unzipper->get_error();
             if (err==NULL) err="(unknown error)";
             oss << "Failed to open LASzip stream: " << std::string(err);
             throw liblas_error(oss.str());


More information about the Liblas-commits mailing list