Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/clientlogin.c @ 29123:5e11c572d730
This magic number is documented in oscar.h, but it makes sense to
document it here, too
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 02 Dec 2009 22:27:55 +0000 |
parents | 41656cf6af7a |
children | 72bce773b640 |
comparison
equal
deleted
inserted
replaced
29122:41656cf6af7a | 29123:5e11c572d730 |
---|---|
273 static void send_start_oscar_session(OscarData *od, const char *token, const char *session_key, time_t hosttime) | 273 static void send_start_oscar_session(OscarData *od, const char *token, const char *session_key, time_t hosttime) |
274 { | 274 { |
275 char *query_string, *signature, *url; | 275 char *query_string, *signature, *url; |
276 gboolean use_tls = purple_account_get_bool(purple_connection_get_account(od->gc), "use_ssl", OSCAR_DEFAULT_USE_SSL); | 276 gboolean use_tls = purple_account_get_bool(purple_connection_get_account(od->gc), "use_ssl", OSCAR_DEFAULT_USE_SSL); |
277 | 277 |
278 /* Construct the GET parameters */ | 278 /* |
279 * Construct the GET parameters. 0x00000611 is the distid given to | |
280 * us by AOL for use as the default libpurple distid. | |
281 */ | |
279 query_string = g_strdup_printf("a=%s" | 282 query_string = g_strdup_printf("a=%s" |
280 "&distId=%d" | 283 "&distId=%d" |
281 "&f=xml" | 284 "&f=xml" |
282 "&k=%s" | 285 "&k=%s" |
283 "&ts=%" PURPLE_TIME_T_MODIFIER | 286 "&ts=%" PURPLE_TIME_T_MODIFIER |