diff options
Diffstat (limited to 'src/import/pull.c')
-rw-r--r-- | src/import/pull.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/import/pull.c b/src/import/pull.c index 6342f7d7f1..7e8712493f 100644 --- a/src/import/pull.c +++ b/src/import/pull.c @@ -64,8 +64,7 @@ static int pull_tar(int argc, char *argv[], void *userdata) { local = l; } - if (empty_or_dash(local)) - local = NULL; + local = empty_or_dash_to_null(local); if (local) { r = tar_strip_suffixes(local, &ll); @@ -151,8 +150,7 @@ static int pull_raw(int argc, char *argv[], void *userdata) { local = l; } - if (empty_or_dash(local)) - local = NULL; + local = empty_or_dash_to_null(local); if (local) { r = raw_strip_suffixes(local, &ll); |