aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-10 11:47:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-10 11:47:03 +0000
commitd15af5bbf2c199a04e93e380eba1689363bf6a21 (patch)
treedb7c5ed349a7218e717e406df444087a60bbc96a
parent72b3c5a718483555154a3c7fa73caa770142cef9 (diff)
downloadperl-URPM-d15af5bbf2c199a04e93e380eba1689363bf6a21.tar
perl-URPM-d15af5bbf2c199a04e93e380eba1689363bf6a21.tar.gz
perl-URPM-d15af5bbf2c199a04e93e380eba1689363bf6a21.tar.bz2
perl-URPM-d15af5bbf2c199a04e93e380eba1689363bf6a21.tar.xz
perl-URPM-d15af5bbf2c199a04e93e380eba1689363bf6a21.zip
cleanup
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index 4805d4a..8bd0b61 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -717,7 +717,7 @@ return_problems(rpmps ps, int translate_message) {
if (translate_message) {
/* translate error using rpm localization */
- const char *buf = rpmProblemString(ps->probs + i);
+ const char *buf = rpmProblemString(p);
SV *sv = newSVpv(buf, 0);
if (rpm_codeset_is_utf8) SvUTF8_on(sv);
XPUSHs(sv_2mortal(sv));