src/relpipe-tr-xpath.cpp
branchv_0
changeset 9 42a62e3c8938
parent 0 73e60c77be23
--- a/src/relpipe-tr-xpath.cpp	Thu Dec 31 01:03:13 2020 +0100
+++ b/src/relpipe-tr-xpath.cpp	Sat Nov 27 23:15:18 2021 +0100
@@ -58,11 +58,11 @@
 		resultCode = CLI::EXIT_CODE_SUCCESS;
 
 	} catch (RelpipeCLIException& e) {
-		fwprintf(stderr, L"Caught CLI exception: %ls\n", e.getMessge().c_str());
+		fwprintf(stderr, L"Caught CLI exception: %ls\n", e.getMessage().c_str());
 		fwprintf(stderr, L"Debug: Input stream: eof=%ls, lastRead=%d\n", (cin.eof() ? L"true" : L"false"), cin.gcount());
 		resultCode = e.getExitCode();
 	} catch (RelpipeReaderException& e) {
-		fwprintf(stderr, L"Caught Reader exception: %ls\n", e.getMessge().c_str());
+		fwprintf(stderr, L"Caught Reader exception: %ls\n", e.getMessage().c_str());
 		fwprintf(stderr, L"Debug: Input stream: eof=%ls, lastRead=%d\n", (cin.eof() ? L"true" : L"false"), cin.gcount());
 		resultCode = CLI::EXIT_CODE_DATA_ERROR;
 	}