Changeset 93ece66 for skype/skype.c
- Timestamp:
- 2007-08-20T01:49:06Z (17 years ago)
- Branches:
- master
- Children:
- 0bb1b7f
- Parents:
- 592f824
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skype.c
r592f824 r93ece66 185 185 } 186 186 187 static int skype_buddy_msg( struct im_connection *ic, char *who, char *message, int flags ) 188 { 189 char *buf, *ptr; 190 int st; 191 192 ptr = strchr(who, '@'); 193 *ptr = '\0'; 194 195 buf = g_strdup_printf("MESSAGE %s %s\n", who, message); 196 st = skype_write( ic, buf, strlen( buf ) ); 197 g_free(buf); 198 199 return st; 200 } 201 187 202 static void skype_set_away( struct im_connection *ic, char *state_txt, char *message ) 188 203 { … … 217 232 ret->init = skype_init; 218 233 ret->logout = skype_logout; 234 ret->buddy_msg = skype_buddy_msg; 219 235 ret->away_states = skype_away_states; 220 236 ret->add_buddy = skype_add_buddy;
Note: See TracChangeset
for help on using the changeset viewer.