projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
All in one dump
[anna.git]
/
example
/
diameter
/
pcapDecoder
/
main.cpp
diff --git
a/example/diameter/pcapDecoder/main.cpp
b/example/diameter/pcapDecoder/main.cpp
index
f3330b7
..
f456dc9
100644
(file)
--- a/
example/diameter/pcapDecoder/main.cpp
+++ b/
example/diameter/pcapDecoder/main.cpp
@@
-339,11
+339,12
@@
int main(int argc, char **argv)
//LOGDEBUG(anna::Logger::debug(codecEngine->asString(), ANNA_FILE_LOCATION));
if (lst.size() > 1) {
//LOGDEBUG(anna::Logger::debug(codecEngine->asString(), ANNA_FILE_LOCATION));
if (lst.size() > 1) {
- std::ofstream out("./dictionary.xml", std::ifstream::out);
+ std::string all_in_one = "./dictionary-all-in-one.xml";
+ std::ofstream out(all_in_one, std::ifstream::out);
std::string buffer = d->asXMLString();
out.write(buffer.c_str(), buffer.size());
out.close();
std::string buffer = d->asXMLString();
out.write(buffer.c_str(), buffer.size());
out.close();
- std::cout << "Written '
dictionary.xml
' (provide it next time to be more comfortable)." << std::endl;
+ std::cout << "Written '
" << all_in_one << "
' (provide it next time to be more comfortable)." << std::endl;
}
} catch (anna::RuntimeException &ex) {
}
} catch (anna::RuntimeException &ex) {