query.c: fix coding standard violations
---
src/pacman/query.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pacman/query.c b/src/pacman/query.c index d882e5a..7381c4e 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -58,7 +58,7 @@ static int search_path(char **filename, struct stat *bufptr) /* strip the trailing slash if one exists */ while(path[plen - 1] == '/') { - path[--plen] = ' '; + path[--plen] = ' '; } fullname = malloc(plen + flen + 2); @@ -144,7 +144,7 @@ static int query_fileowner(alpm_list_t *targets) /* trailing '/' causes lstat to dereference directory symlinks */ len = strlen(filename) - 1; - while(len > 0 && filename[len] == '/'){ + while(len > 0 && filename[len] == '/') { filename[len--] = ' '; } -- 1.7.11.4 |
| All times are GMT. The time now is 01:03 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.