comparison libfaim/login.c @ 1750:d2eca7a46cfd

[gaim-migrate @ 1760] someday maybe she'll come back to me and i'll say WHY DON'T YOU GO FUCK YOURSELF committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 25 Apr 2001 19:15:50 +0000
parents bacb77b0eb06
children f15d449b3167
comparison
equal deleted inserted replaced
1749:5bfc58c20e82 1750:d2eca7a46cfd
766 faim_export int aim_sendmemblock(struct aim_session_t *sess, struct aim_conn_t *conn, unsigned long offset, unsigned long len, const unsigned char *buf, unsigned char flag) 766 faim_export int aim_sendmemblock(struct aim_session_t *sess, struct aim_conn_t *conn, unsigned long offset, unsigned long len, const unsigned char *buf, unsigned char flag)
767 { 767 {
768 struct command_tx_struct *tx; 768 struct command_tx_struct *tx;
769 int i = 0; 769 int i = 0;
770 770
771 if (!sess || !conn || ((offset == 0) && !buf)) 771 if (!sess || !conn)
772 return 0; 772 return 0;
773 773
774 if (!(tx = aim_tx_new(sess, conn, AIM_FRAMETYPE_OSCAR, 0x0002, 10+2+16))) 774 if (!(tx = aim_tx_new(sess, conn, AIM_FRAMETYPE_OSCAR, 0x0002, 10+2+16)))
775 return -1; 775 return -1;
776 776