Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/pactree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/pactree.c b/src/util/pactree.c
index 6c620aac..5c765428 100644
--- a/src/util/pactree.c
+++ b/src/util/pactree.c
@@ -159,6 +159,7 @@ static size_t strtrim(char *str)
size_t len = strlen(pch);
if(len) {
memmove(str, pch, len + 1);
+ pch = str;
} else {
*str = '\0';
}