diff options
-rw-r--r-- | rpmio/rpmrpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/rpmrpc.c b/rpmio/rpmrpc.c index 8156a694f..ee5f9e82d 100644 --- a/rpmio/rpmrpc.c +++ b/rpmio/rpmrpc.c @@ -1415,7 +1415,7 @@ int Glob_pattern_p (const char * pattern, int quote) case '*': return (1); case '\\': - if (quote && p[1] != '\0') + if (quote && *p != '\0') p++; continue; |