comparison libpurple/protocols/oscar/peer.c @ 27987:993483dda1b8

Clean up some debugging and leave it in, since when it it fails, it would cause a crash. Refs #4829.
author Paul Aurich <paul@darkrain42.org>
date Tue, 21 Jul 2009 15:05:00 +0000
parents 4e1eef14b095
children 0d3145e6b1d6
comparison
equal deleted inserted replaced
27986:29e1cc634466 27987:993483dda1b8
710 } 710 }
711 else if (conn->type == OSCAR_CAPABILITY_SENDFILE) 711 else if (conn->type == OSCAR_CAPABILITY_SENDFILE)
712 { 712 {
713 const guchar *ip_atoi = purple_network_ip_atoi(listener_ip); 713 const guchar *ip_atoi = purple_network_ip_atoi(listener_ip);
714 if (ip_atoi == NULL) { 714 if (ip_atoi == NULL) {
715 purple_debug_error("oscar", "Cannot send file. IP %s failed atoi.\n" 715 purple_debug_error("oscar", "Cannot send file. atoi(%s) failed.\n"
716 "Other possibly useful information: fd = %d, port = %d\n", 716 "Other possibly useful information: fd = %d, port = %d\n",
717 listener_ip ? listener_ip : "(null!)", conn->listenerfd, 717 listener_ip ? listener_ip : "(null!)", conn->listenerfd,
718 listener_port); 718 listener_port);
719 purple_xfer_cancel_local(conn->xfer); 719 purple_xfer_cancel_local(conn->xfer);
720 return; 720 return;
721 } 721 }
722 aim_im_sendch2_sendfile_requestdirect(od, 722 aim_im_sendch2_sendfile_requestdirect(od,
723 conn->cookie, conn->bn, 723 conn->cookie, conn->bn,