Changeset 9fae35c for protocols/oscar
- Timestamp:
- 2006-01-23T23:28:13Z (19 years ago)
- Branches:
- master
- Children:
- ec3e411
- Parents:
- 7308b63 (diff), 68c7c14 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- protocols/oscar
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/oscar/oscar.c
r7308b63 r9fae35c 21 21 */ 22 22 23 #include "sock.h"24 23 #include <errno.h> 25 24 #include <ctype.h> … … 33 32 #include "bitlbee.h" 34 33 #include "proxy.h" 34 #include "sock.h" 35 35 36 36 #include "aim.h" … … 608 608 return; 609 609 } 610 /* [WvG] Wheeeee! Who needs error checking anyway? ;-) */ 610 611 read(pos->fd, m, 16); 611 612 m[16] = '\0'; -
protocols/oscar/rxqueue.c
r7308b63 r9fae35c 353 353 return -1; /* its a aim_conn_close()'d connection */ 354 354 355 if (conn->fd < 3) /* can happen when people abuse the interface */ 355 /* KIDS, THIS IS WHAT HAPPENS IF YOU USE CODE WRITTEN FOR GUIS IN A DAEMON! 356 357 And wouldn't it make sense to return something that prevents this function 358 from being called again IMMEDIATELY (and making the program suck up all 359 CPU time)?... 360 361 if (conn->fd < 3) 356 362 return 0; 363 */ 357 364 358 365 if (conn->status & AIM_CONN_STATUS_INPROGRESS) -
protocols/oscar/service.c
r7308b63 r9fae35c 736 736 737 737 tlvlen = aim_addtlvtochain32(&tl, 0x0006, data); 738 739 printf("%d\n", tlvlen);740 738 741 739 if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10 + 8)))
Note: See TracChangeset
for help on using the changeset viewer.