diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-07-30 10:03:33 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-07-30 10:03:33 +0200 |
commit | 7f23a7962b759595b5d810242cf24cd58f88df6c (patch) | |
tree | 190cf00bae46744a2d033ec707634689cc754773 /src | |
parent | f5b1b7966071e77100e47c85a6a021a61fcef5be (diff) | |
download | dabmux-7f23a7962b759595b5d810242cf24cd58f88df6c.tar.gz dabmux-7f23a7962b759595b5d810242cf24cd58f88df6c.tar.bz2 dabmux-7f23a7962b759595b5d810242cf24cd58f88df6c.zip |
Add TAI clock runtime failure if no cURL available
Diffstat (limited to 'src')
-rw-r--r-- | src/ClockTAI.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ClockTAI.cpp b/src/ClockTAI.cpp index 787f1f7..afd8025 100644 --- a/src/ClockTAI.cpp +++ b/src/ClockTAI.cpp @@ -183,6 +183,8 @@ int ClockTAI::download_tai_utc_bulletin(const char* url) /* always cleanup */ curl_easy_cleanup(curl); } +#else + throw std::runtime_error("Cannot download TAI Clock information without cURL"); #endif // HAVE_CURL return r; } |