summaryrefslogtreecommitdiffstats
path: root/lib/Plugins
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-08-20 14:33:02 +0200
committerZdenek Prikryl <zprikryl@redhat.com>2009-08-20 14:33:02 +0200
commit168cd99919c987048b8b18a9a3b8dd7fa06e3bd8 (patch)
tree198dfa4dfec8f715b5d6fc8e19477b2ef6719de2 /lib/Plugins
parent876c78c334b4a74598c5ef7f7f0dc40b33570941 (diff)
downloadabrt-168cd99919c987048b8b18a9a3b8dd7fa06e3bd8.tar.gz
abrt-168cd99919c987048b8b18a9a3b8dd7fa06e3bd8.tar.xz
abrt-168cd99919c987048b8b18a9a3b8dd7fa06e3bd8.zip
fixed +-1 bug
Diffstat (limited to 'lib/Plugins')
-rw-r--r--lib/Plugins/Bugzilla.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp
index 694524d0..0b23b950 100644
--- a/lib/Plugins/Bugzilla.cpp
+++ b/lib/Plugins/Bugzilla.cpp
@@ -407,7 +407,7 @@ void CReporterBugzilla::SetSettings(const map_plugin_settings_t& pSettings)
//remove the trailing '/'
while (m_sBugzillaURL[m_sBugzillaURL.length() - 1] == '/')
{
- m_sBugzillaURL.erase(m_sBugzillaURL.length() - 2);
+ m_sBugzillaURL.erase(m_sBugzillaURL.length() - 1);
}
/*
if(*(--m_sBugzillaURL.end()) == '/')