# HG changeset patch # User František Kučera # Date 1638051314 -3600 # Node ID 70e7288481fd2a3b1ed273085718068533a86f4e # Parent 8f434dc384445309cbd8c86f01d0c80ad03669d6 exception: fix typo: getMessge() → getMessage() diff -r 8f434dc38444 -r 70e7288481fd src/relpipe-in-barcode.cpp --- a/src/relpipe-in-barcode.cpp Sat May 01 17:59:40 2021 +0200 +++ b/src/relpipe-in-barcode.cpp Sat Nov 27 23:15:14 2021 +0100 @@ -50,11 +50,11 @@ command.process(configuration, writer, std::bind(fflush, stdout)); // std::bind(fflush, XXX) Factory::create(XXX) must be the same stream XXX resultCode = CLI::EXIT_CODE_SUCCESS; } catch (RelpipeWriterException& e) { - fwprintf(stderr, L"Caught Writer exception: %ls\n", e.getMessge().c_str()); + fwprintf(stderr, L"Caught Writer 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; } 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(); }