diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-12-06 10:10:31 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-12-06 10:10:31 +0000 |
commit | 22d8aa37e01ef1d87634fa26edc332e6b9f41544 (patch) | |
tree | 70fd906006226fe80fa48660bf5b17527ce7172b /src/main.c | |
parent | 160d2a30db9b683025472517c82e35950a436f14 (diff) |
urlglob fix to prevent crashing when -o path is longer than url
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index ba5bcf925..a7d474cac 100644 --- a/src/main.c +++ b/src/main.c @@ -1500,7 +1500,7 @@ operate(struct Configurable *config, int argc, char *argv[]) else { /* fill '#1' ... '#9' terms from URL pattern */ char *outfile = config->outfile; - config->outfile = match_url(config->outfile, *urls); + config->outfile = match_url(config->outfile, urls); free(outfile); } |