Changeset c32f492 for protocols/yahoo/libyahoo2.c
- Timestamp:
- 2010-03-07T18:41:45Z (14 years ago)
- Branches:
- master
- Children:
- b52e478, fb020ac
- Parents:
- 1c2eaa3 (diff), 0e99548 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/libyahoo2.c
r1c2eaa3 rc32f492 4099 4099 4100 4100 yd = yid->yd; 4101 4102 4101 old_status = yd->current_status; 4103 4104 if (msg && strncmp(msg,"Invisible",9)) { 4105 yd->current_status = YAHOO_STATUS_CUSTOM; 4106 } else { 4107 yd->current_status = state; 4108 } 4102 yd->current_status = state; 4109 4103 4110 4104 /* Thank you libpurple :) */ … … 4121 4115 snprintf(s, sizeof(s), "%d", yd->current_status); 4122 4116 yahoo_packet_hash(pkt, 10, s); 4123 4124 if (yd->current_status == YAHOO_STATUS_CUSTOM) { 4125 yahoo_packet_hash(pkt, 19, msg); 4126 } else { 4127 yahoo_packet_hash(pkt, 19, ""); 4128 } 4129 4117 yahoo_packet_hash(pkt, 19, msg && state == YAHOO_STATUS_CUSTOM ? msg : ""); 4130 4118 yahoo_packet_hash(pkt, 47, (away == 2)? "2": (away) ?"1":"0"); 4131 4132 4119 yahoo_send_packet(yid, pkt, 0); 4133 4120 yahoo_packet_free(pkt);
Note: See TracChangeset
for help on using the changeset viewer.