diff options
author | Francois Pons <fpons@mandriva.com> | 2003-01-06 11:25:28 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-01-06 11:25:28 +0000 |
commit | 552ab6f5bc019f71383251b9cd519b98ef04e86a (patch) | |
tree | 423131e8e15327b2ade37f9a30f3267a4631265e /URPM.xs | |
parent | 98ee250d58af758552ba7ad93aefde0ca171f665 (diff) | |
download | perl-URPM-552ab6f5bc019f71383251b9cd519b98ef04e86a.tar perl-URPM-552ab6f5bc019f71383251b9cd519b98ef04e86a.tar.gz perl-URPM-552ab6f5bc019f71383251b9cd519b98ef04e86a.tar.bz2 perl-URPM-552ab6f5bc019f71383251b9cd519b98ef04e86a.tar.xz perl-URPM-552ab6f5bc019f71383251b9cd519b98ef04e86a.zip |
0.81-5mdk
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -351,7 +351,7 @@ pack_header(URPM__Package pkg) { if (!filename || !strcmp(p, filename)) { p[-1] = 0; } else { - p = p + snprintf(p, sizeof(buff) - (p-buff), "%s", filename); + p = p + 1 + snprintf(p, sizeof(buff) - (p-buff), "%s", filename); } pkg->info = memcpy(malloc(p-buff), buff, p-buff); } |