index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Sami Kerola <kerolasa@iki.fi> | 2013-09-02 21:30:46 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-09-04 09:51:20 +1000 |
commit | 9020bcee379502115e1109d0646a6488f1667dff (patch) | |
tree | 5f314b2643d70e257773db334aa175390e585cb5 | |
parent | 9e50e5314c76085814187272c544cecda0a63534 (diff) |
-rw-r--r-- | src/common/util-common.c | 2 |
diff --git a/src/common/util-common.c b/src/common/util-common.c index 7145e492..40623b92 100644 --- a/src/common/util-common.c +++ b/src/common/util-common.c @@ -48,7 +48,7 @@ char *mdirname(const char *path) char *ret, *last; /* null or empty path */ - if(path == NULL || path == '\0') { + if(path == NULL || *path == '\0') { return strdup("."); } |