diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-25 21:12:28 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-25 21:12:28 +0100 |
commit | 0418ccf55716f14a77bc9f52ebb0f9a44a937b92 (patch) | |
tree | 35d464c51e00649642cd123028e42634f46e2877 /lib/Plugins | |
parent | 1092802b4a1441e809e98d1583a882043b360ee2 (diff) | |
download | abrt-0418ccf55716f14a77bc9f52ebb0f9a44a937b92.tar.gz abrt-0418ccf55716f14a77bc9f52ebb0f9a44a937b92.tar.xz abrt-0418ccf55716f14a77bc9f52ebb0f9a44a937b92.zip |
split parse_release() into Bz and RHEL versions
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'lib/Plugins')
-rw-r--r-- | lib/Plugins/Bugzilla.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp index fb21453f..49c87812 100644 --- a/lib/Plugins/Bugzilla.cpp +++ b/lib/Plugins/Bugzilla.cpp @@ -333,7 +333,7 @@ xmlrpc_value* ctx::call_quicksearch_duphash(const char* component, const char* r { char *product = NULL; char *version = NULL; - parse_release(release, &product, &version); + parse_release_for_bz(release, &product, &version); query = xasprintf("ALL component:\"%s\" whiteboard:\"%s\" product:\"%s\"", component, duphash, product ); @@ -493,7 +493,7 @@ xmlrpc_int32 ctx::new_bug(const map_crash_data_t& pCrashData, int depend_on_bugn char *product = NULL; char *version = NULL; - parse_release(release.c_str(), &product, &version); + parse_release_for_bz(release.c_str(), &product, &version); xmlrpc_value* result = NULL; if (depend_on_bugno > -1) @@ -771,7 +771,7 @@ std::string CReporterBugzilla::Report(const map_crash_data_t& pCrashData, char *product = NULL; char *version = NULL; - parse_release(release, &product, &version); + parse_release_for_bz(release, &product, &version); free(version); xmlrpc_value *result; |