Changeset 767b2d1 for protocols/msn/gw.c


Ignore:
Timestamp:
2015-05-31T02:40:04Z (9 years ago)
Author:
dequis <dx@…>
Children:
074c9b6
Parents:
2ca933c
git-author:
dequis <dx@…> (07-04-15 12:59:51)
git-committer:
dequis <dx@…> (31-05-15 02:40:04)
Message:

msn: Start of SSL over TCP code (required for MSNP24)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/gw.c

    r2ca933c r767b2d1  
    22#include "lib/http_client.h"
    33#include "msn.h"
    4 
    5 #define GATEWAY_HOST "geo.gateway.messenger.live.com"
    6 #define GATEWAY_PORT 443
    74
    85#define REQUEST_TEMPLATE \
     
    1815{
    1916        struct msn_gw *gw = g_new0(struct msn_gw, 1);
    20         gw->last_host = g_strdup(GATEWAY_HOST);
    21         gw->port = GATEWAY_PORT;
    22         gw->ssl = (GATEWAY_PORT == 443);
     17        gw->last_host = g_strdup(MSN_HTTP_HOST);
     18        gw->port = MSN_HTTP_PORT;
     19        gw->ssl = (MSN_HTTP_PORT == 443);
    2320        gw->poll_timeout = -1;
    2421        gw->ic = ic;
Note: See TracChangeset for help on using the changeset viewer.