X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/09ad90537ded518be41e2a35da6ee0ce2325eceb..6db1db54883508cd572e24f93e7bee14e286967d:/util.c diff --git a/util.c b/util.c index a53af8d5..2afb63ec 100644 --- a/util.c +++ b/util.c @@ -582,7 +582,7 @@ static inline void call_glob_match(const char *name, int len, int from_glob, } else use_buf = glob.arg_buf; - if (from_glob || arg) { + if (from_glob || (arg && len)) { STRUCT_STAT st; int is_dir;