diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-15 18:33:14 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-15 18:33:14 +0200 |
commit | 46585e67644ad8edf16ff8db5602cea325a975e5 (patch) | |
tree | 5739256404e8193abb219c42f6e291b21f947881 /lib/plugins/Python.cpp | |
parent | 9d9a9dd41313ed5d2e544bb3bcdf08dab6f38a48 (diff) | |
download | abrt-46585e67644ad8edf16ff8db5602cea325a975e5.tar.gz abrt-46585e67644ad8edf16ff8db5602cea325a975e5.tar.xz abrt-46585e67644ad8edf16ff8db5602cea325a975e5.zip |
change dd_opendir API to return dd pointer (no need to dd_init it separately)
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'lib/plugins/Python.cpp')
-rw-r--r-- | lib/plugins/Python.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/Python.cpp b/lib/plugins/Python.cpp index 77839570..ea3e1ade 100644 --- a/lib/plugins/Python.cpp +++ b/lib/plugins/Python.cpp @@ -24,8 +24,8 @@ using namespace std; string CAnalyzerPython::GetLocalUUID(const char *pDebugDumpDir) { - struct dump_dir *dd = dd_init(); - if (!dd_opendir(dd, pDebugDumpDir, DD_CLOSE_ON_OPEN_ERR)) + struct dump_dir *dd = dd_opendir(pDebugDumpDir, /*flags:*/ 0); + if (!dd) return string(""); char *bt = dd_load_text(dd, FILENAME_BACKTRACE); |