summaryrefslogtreecommitdiffstats
path: root/src/pacman/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/util.c')
-rw-r--r--src/pacman/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c
index fb6f5219..e421e9d5 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -229,7 +229,7 @@ void indentprint(const char *str, int indent)
p = wcstr;
cidx = indent;
- if(!p) {
+ if(!p || !len) {
return;
}