comparison src/protocols/msn/nexus.c @ 14140:ee80f766b7e3

[gaim-migrate @ 16782] Fix a warning: nexus.c:299: warning: no previous prototype for 'nexus_challenge_data_lookup' And change this code to use tab indentation committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 16 Aug 2006 06:11:10 +0000
parents 6666ce3176b9
children
comparison
equal deleted inserted replaced
14139:44ec6c7cbc76 14140:ee80f766b7e3
292 nexus->read_len = 0; 292 nexus->read_len = 0;
293 293
294 } 294 }
295 295
296 /* this guards against missing hash entries */ 296 /* this guards against missing hash entries */
297 char * 297 static char *
298 nexus_challenge_data_lookup(GHashTable *challenge_data, const char *key) 298 nexus_challenge_data_lookup(GHashTable *challenge_data, const char *key)
299 { 299 {
300 char *entry; 300 char *entry;
301 301
302 return (entry = (char *)g_hash_table_lookup(challenge_data, key)) ? 302 return (entry = (char *)g_hash_table_lookup(challenge_data, key)) ?
303 entry : "(null)"; 303 entry : "(null)";
304 } 304 }
305 305
306 void 306 void
307 login_connect_cb(gpointer data, GaimSslConnection *gsc, 307 login_connect_cb(gpointer data, GaimSslConnection *gsc,
308 GaimInputCondition cond) 308 GaimInputCondition cond)