comparison src/oscar.c @ 946:acd4d81f2afc

[gaim-migrate @ 956] fix for segfault on systems with fucked up sprintf committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 06 Oct 2000 20:33:36 +0000
parents a88af4cc626a
children fa681641643d
comparison
equal deleted inserted replaced
945:f8de52dbd0cb 946:acd4d81f2afc
340 auth_failed(); 340 auth_failed();
341 return 0; 341 return 0;
342 } 342 }
343 343
344 344
345 sprintf(debug_buff, "Email: %s\n", sess->logininfo.email); 345 if (sess->logininfo.email) {
346 debug_print(debug_buff); 346 sprintf(debug_buff, "Email: %s\n", sess->logininfo.email);
347 debug_print(debug_buff);
348 } else {
349 debug_print("Email is NULL\n");
350 }
347 sprintf(debug_buff, "Closing auth connection...\n"); 351 sprintf(debug_buff, "Closing auth connection...\n");
348 debug_print(debug_buff); 352 debug_print(debug_buff);
349 gdk_input_remove(inpa); 353 gdk_input_remove(inpa);
350 aim_conn_kill(sess, &command->conn); 354 aim_conn_kill(sess, &command->conn);
351 355