Changeset 98bca36
- Timestamp:
- 2007-08-20T22:37:17Z (17 years ago)
- Branches:
- master
- Children:
- 348a3a2
- Parents:
- 23411c6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skype.c
r23411c6 r98bca36 73 73 char **lines, **lineptr, *line, *ptr; 74 74 75 if( sd->fd == -1 )75 if( !sd || sd->fd == -1 ) 76 76 return FALSE; 77 77 st = read( sd->fd, buf, sizeof( buf ) ); … … 237 237 { 238 238 struct skype_data *sd = ic->proto_data; 239 char *buf; 240 241 buf = g_strdup_printf("SET USERSTATUS OFFLINE\n"); 242 skype_write( ic, buf, strlen( buf ) ); 243 g_free(buf); 244 239 245 g_free(sd->username); 240 246 g_free(sd); 247 ic->proto_data = NULL; 241 248 } 242 249
Note: See TracChangeset
for help on using the changeset viewer.