summaryrefslogtreecommitdiff
path: root/src/httrack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/httrack.c')
-rw-r--r--src/httrack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/httrack.c b/src/httrack.c
index 3d4e8fb..61782b3 100644
--- a/src/httrack.c
+++ b/src/httrack.c
@@ -786,7 +786,7 @@ static void sig_leave( int code ) {
printf("\n** Finishing pending transfers.. press again ^C to quit.\n");
if (global_opt != NULL) {
// ask for stop
- hts_log_print(opt, LOG_ERROR, "Exit requested by shell or user");
+ hts_log_print(global_opt, LOG_ERROR, "Exit requested by shell or user");
global_opt->state.stop=1;
}
} else {