diff --git a/src/profanity.c b/src/profanity.c index 4a17f68c..6f13ba4f 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -79,7 +79,6 @@ profanity_init(const int disable_tls) jabber_init(disable_tls); command_init(); contact_list_init(); -// tinyurl_init(); atexit(_profanity_shutdown); } diff --git a/src/tinyurl.c b/src/tinyurl.c index c492ff1d..666cf9a1 100644 --- a/src/tinyurl.c +++ b/src/tinyurl.c @@ -35,12 +35,6 @@ struct curl_data_t static size_t _data_callback(void *ptr, size_t size, size_t nmemb, void *data); -void -tinyurl_init(void) -{ - curl_global_init(CURL_GLOBAL_ALL); -} - gboolean tinyurl_valid(char *url) { diff --git a/src/tinyurl.h b/src/tinyurl.h index 7c958d7a..98e74517 100644 --- a/src/tinyurl.h +++ b/src/tinyurl.h @@ -20,6 +20,5 @@ * */ -void tinyurl_init(void); gboolean tinyurl_valid(char *url); char * tinyurl_get(char *url);