Revision 3176 libsylph/imap.c
| imap.c (revision 3176) | ||
|---|---|---|
| 2930 | 2930 |
SockInfo *sock = NULL; |
| 2931 | 2931 |
const gchar *server_; |
| 2932 | 2932 |
gushort port_; |
| 2933 |
#if USE_THREADS |
|
| 2934 |
gint conn_id; |
|
| 2935 |
#endif |
|
| 2933 | 2936 |
|
| 2934 | 2937 |
if (socks_info) {
|
| 2935 | 2938 |
server_ = socks_info->proxy_host; |
| ... | ... | |
| 2940 | 2943 |
} |
| 2941 | 2944 |
|
| 2942 | 2945 |
#if USE_THREADS |
| 2943 |
gint conn_id; |
|
| 2944 |
|
|
| 2945 | 2946 |
if ((conn_id = sock_connect_async_thread(server_, port_)) < 0 || |
| 2946 | 2947 |
sock_connect_async_thread_wait(conn_id, &sock) < 0) {
|
| 2947 | 2948 |
log_warning(_("Can't connect to IMAP4 server: %s:%d\n"),
|
Also available in: Unified diff