Selaa lähdekoodia

Fix compiler warnings.

master
Richard Nyberg 19 vuotta sitten
vanhempi
commit
0aa0975486
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      btpd/http.c

+ 2
- 2
btpd/http.c Näytä tiedosto

@@ -189,7 +189,7 @@ http_td_actions(void)
pthread_mutex_unlock(&m_httpq_lock); pthread_mutex_unlock(&m_httpq_lock);
} }


static void * static void
http_td(void *arg) http_td(void *arg)
{ {
fd_set rset, wset, eset; fd_set rset, wset, eset;
@@ -226,5 +226,5 @@ http_init(void)
errdie((m_curlh = curl_multi_init()) == NULL); errdie((m_curlh = curl_multi_init()) == NULL);
errdie(pthread_mutex_init(&m_httpq_lock, NULL)); errdie(pthread_mutex_init(&m_httpq_lock, NULL));
errdie(pthread_cond_init(&m_httpq_cond, NULL)); errdie(pthread_cond_init(&m_httpq_cond, NULL));
errdie(pthread_create(&ret, NULL, http_td, NULL)); errdie(pthread_create(&ret, NULL, (void *(*)(void *))http_td, NULL));
} }

||||||
x
 
000:0
Loading…
Peruuta
Tallenna