diff options
author | James Booth <boothj5@gmail.com> | 2012-08-10 23:07:49 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-08-10 23:07:49 +0100 |
commit | cd3a0ddeb8d3e2713dee302f6d6e2de3709707c2 (patch) | |
tree | d5e6e666d880c3cdfdda43cff5253a35d2452464 /src | |
parent | ab63edaeb24a5b55a6b182bbcfa1802faeb8403b (diff) | |
download | profani-tty-cd3a0ddeb8d3e2713dee302f6d6e2de3709707c2.tar.gz |
Removed tinyurl_init
Diffstat (limited to 'src')
-rw-r--r-- | src/profanity.c | 1 | ||||
-rw-r--r-- | src/tinyurl.c | 6 | ||||
-rw-r--r-- | src/tinyurl.h | 1 |
3 files changed, 0 insertions, 8 deletions
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); |