aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-12-06 10:10:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-12-06 10:10:31 +0000
commit22d8aa37e01ef1d87634fa26edc332e6b9f41544 (patch)
tree70fd906006226fe80fa48660bf5b17527ce7172b /src/main.c
parent160d2a30db9b683025472517c82e35950a436f14 (diff)
urlglob fix to prevent crashing when -o path is longer than url
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
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);
}