projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a99f88
)
- Fix off by one (*blush*)
author
Michael Schroeder
<mls@suse.de>
Tue, 11 Mar 2008 11:19:25 +0000
(11:19 +0000)
committer
Michael Schroeder
<mls@suse.de>
Tue, 11 Mar 2008 11:19:25 +0000
(11:19 +0000)
src/poolid.c
patch
|
blob
|
history
diff --git
a/src/poolid.c
b/src/poolid.c
index d1e449e48a92cb6fe630833c18ffe773e77776d8..35b521dfc4159711ebea07c21b2b6d038c02c4c2 100644
(file)
--- a/
src/poolid.c
+++ b/
src/poolid.c
@@
-229,7
+229,7
@@
dep2str(Pool *pool, Id id)
char *p;
if (!ISRELDEP(id))
return pool->ss.stringspace + pool->ss.strings[id];
- p = pool_alloctmpspace(pool, dep2strlen(pool, id));
+ p = pool_alloctmpspace(pool, dep2strlen(pool, id)
+ 1
);
dep2strcpy(pool, p, id);
return p;
}