mirror of https://github.com/vitalif/grive2
parent
5d302a0909
commit
915303d205
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
|
||||
#include "Download.hh"
|
||||
#include "util/SignalHandler.hh"
|
||||
// #include "util/SignalHandler.hh"
|
||||
|
||||
#include <openssl/evp.h>
|
||||
|
||||
|
@ -61,7 +61,7 @@ Download::~Download( )
|
|||
std::string Download::Finish() const
|
||||
{
|
||||
// Unregister the signal
|
||||
SignalHandler::GetInstance().UnregisterSignal( SIGINT ) ;
|
||||
// SignalHandler::GetInstance().UnregisterSignal( SIGINT ) ;
|
||||
|
||||
std::string result ;
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "HTTP.hh"
|
||||
|
||||
#include "Download.hh"
|
||||
#include "util/SignalHandler.hh"
|
||||
// #include "util/SignalHandler.hh"
|
||||
|
||||
// dependent libraries
|
||||
#include <curl/curl.h>
|
||||
|
@ -151,7 +151,7 @@ void GetFile(
|
|||
const Headers& hdr )
|
||||
{
|
||||
// Register the callback
|
||||
SignalHandler::GetInstance().RegisterSignal( SIGINT, &CallbackInt ) ;
|
||||
// SignalHandler::GetInstance().RegisterSignal( SIGINT, &CallbackInt ) ;
|
||||
|
||||
Download dl( filename, Download::NoChecksum() ) ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue