Changeset e0e1546 for protocols/msn/msn_util.c
- Timestamp:
- 2010-08-15T18:46:10Z (14 years ago)
- Branches:
- master
- Children:
- 80175a1
- Parents:
- 9b01339
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/msn_util.c
r9b01339 re0e1546 598 598 return NULL; 599 599 } 600 601 int msn_ns_set_display_name( struct im_connection *ic, const char *value ) 602 { 603 struct msn_data *md = ic->proto_data; 604 char fn[strlen(value)*3+1]; 605 char buf[512]; 606 607 strcpy( fn, value ); 608 http_encode( fn ); 609 g_snprintf( buf, sizeof( buf ), "PRP %d MFN %s\r\n", 610 ++md->trId, fn ); 611 612 /* Note: We don't actually know if the server accepted the new name, 613 and won't give proper feedback yet if it doesn't. */ 614 return msn_write( ic, buf, strlen( buf ) ); 615 }
Note: See TracChangeset
for help on using the changeset viewer.