Changeset 658dc2f for commands.c
- Timestamp:
- Jun 24, 2003, 11:40:59 PM (21 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- e75713e
- Parents:
- ce7db4d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
commands.c
rce7db4d r658dc2f 1546 1546 1547 1547 char *owl_command_aimwrite(int argc, char **argv, char *buff) { 1548 char *newbuff; 1549 int i, j; 1550 1548 1551 if (!owl_global_is_aimloggedin(&g)) { 1549 1552 owl_function_makemsg("You are not logged in to AIM."); … … 1556 1559 } 1557 1560 1558 owl_function_aimwrite_setup(buff); 1559 owl_global_set_buffercommand(&g, buff); 1561 /* squish arguments together to make one screenname w/o spaces for now */ 1562 newbuff=owl_malloc(strlen(buff)+5); 1563 sprintf(newbuff, "%s ", argv[0]); 1564 j=argc-1; 1565 for (i=0; i<j; i++) { 1566 strcat(newbuff, argv[i+1]); 1567 } 1568 1569 owl_function_aimwrite_setup(newbuff); 1570 owl_global_set_buffercommand(&g, newbuff); 1571 owl_free(newbuff); 1560 1572 return(NULL); 1561 1573 }
Note: See TracChangeset
for help on using the changeset viewer.