Changeset 25c4c78 for protocols/yahoo
- Timestamp:
- 2015-01-16T19:50:24Z (10 years ago)
- Branches:
- master
- Children:
- a6cd799
- Parents:
- 7549d00
- git-author:
- Jason Copenhaver <jcopenha@…> (16-01-15 19:50:24)
- git-committer:
- dequis <dx@…> (16-01-15 19:50:24)
- Location:
- protocols/yahoo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/libyahoo2.c
r7549d00 r25c4c78 974 974 msg = pair->value; 975 975 976 if (pair->key == 13) ; 976 if (pair->key == 13) 977 ; 977 978 if (pair->key == 16) /* error */ 978 979 msg = pair->value; … … 1795 1796 switch (code) 1796 1797 { 1797 case 1212: return YAHOO_LOGIN_PASSWD;1798 case 1213: return YAHOO_LOGIN_LOCK;1799 case 1235: return YAHOO_LOGIN_UNAME;1798 case 1212: return (enum yahoo_status) YAHOO_LOGIN_PASSWD; 1799 case 1213: return (enum yahoo_status) YAHOO_LOGIN_LOCK; 1800 case 1235: return (enum yahoo_status) YAHOO_LOGIN_UNAME; 1800 1801 default: return (enum yahoo_status) code; 1801 1802 } … … 3610 3611 yd = yid->yd; 3611 3612 3612 pkt = yahoo_packet_new(YAHOO_SERVICE_MESSAGE, YAHOO_STATUS_OFFLINE,3613 pkt = yahoo_packet_new(YAHOO_SERVICE_MESSAGE, (enum ypacket_status) YAHOO_STATUS_OFFLINE, 3613 3614 yd->session_id); 3614 3615 … … 3677 3678 if (yd->current_status == YAHOO_STATUS_INVISIBLE) { 3678 3679 pkt = yahoo_packet_new(YAHOO_SERVICE_Y6_VISIBLE_TOGGLE, 3679 YAHOO_STATUS_AVAILABLE, 0);3680 (enum ypacket_status) YAHOO_STATUS_AVAILABLE, 0); 3680 3681 yahoo_packet_hash(pkt, 13, "2"); 3681 3682 yahoo_send_packet(yid, pkt, 0); … … 3696 3697 if (old_status == YAHOO_STATUS_INVISIBLE) { 3697 3698 pkt = yahoo_packet_new(YAHOO_SERVICE_Y6_VISIBLE_TOGGLE, 3698 YAHOO_STATUS_AVAILABLE, 0);3699 (enum ypacket_status) YAHOO_STATUS_AVAILABLE, 0); 3699 3700 yahoo_packet_hash(pkt, 13, "1"); 3700 3701 yahoo_send_packet(yid, pkt, 0); -
protocols/yahoo/yahoo_util.h
r7549d00 r25c4c78 48 48 49 49 # define snprintf g_snprintf 50 #ifdef vsnprintf 51 #undef vsnprintf 52 #endif 50 53 # define vsnprintf g_vsnprintf 51 54
Note: See TracChangeset
for help on using the changeset viewer.