Changeset be915f5 for protocols/yahoo/libyahoo2.c
- Timestamp:
- 2010-03-06T18:19:31Z (14 years ago)
- Branches:
- master
- Children:
- 34fbbf9
- Parents:
- 0714d51
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/libyahoo2.c
r0714d51 rbe915f5 4087 4087 } 4088 4088 4089 /* TODO(wilmer): See if this this function still works since I got rid of a4090 lot of things that seemed illogical. Some things may have4091 been intentional. */4092 4089 void yahoo_set_away(int id, enum yahoo_status state, const char *msg, int away) 4093 4090 { … … 4118 4115 snprintf(s, sizeof(s), "%d", yd->current_status); 4119 4116 yahoo_packet_hash(pkt, 10, s); 4120 yahoo_packet_hash(pkt, 19, msg );4117 yahoo_packet_hash(pkt, 19, msg && state == YAHOO_STATUS_CUSTOM ? msg : ""); 4121 4118 yahoo_packet_hash(pkt, 47, (away == 2)? "2": (away) ?"1":"0"); 4122 4119 yahoo_send_packet(yid, pkt, 0);
Note: See TracChangeset
for help on using the changeset viewer.