Group :: Networking/WWW
RPM: wput
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: wput-0.6.1-alt-fno-common.patch
Download
Download
diff --git a/wput/src/wput.c b/wput/src/wput.c
index 167693f..c18a017 100644
--- a/wput/src/wput.c
+++ b/wput/src/wput.c
@@ -56,6 +56,8 @@
extern char *optarg;
+struct global_options opt;
+
#ifdef WIN32
const static char * version = "0.6.1-w32";
#else
diff --git a/wput/src/wput.h b/wput/src/wput.h
index 968d32a..1ef5c8e 100644
--- a/wput/src/wput.h
+++ b/wput/src/wput.h
@@ -132,7 +132,9 @@ struct global_options {
unsigned short int retry_interval;
unsigned int speed_limit;
-} opt;
+};
+
+extern struct global_options opt;
extern _fsession * fsession_queue_entry_point;
extern char * email_address;