Changeset 1c6c4d3 for functions.c
- Timestamp:
- Jun 30, 2002, 4:58:09 PM (22 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:
- 507d5aa
- Parents:
- 262422c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
rd36f2cb r1c6c4d3 155 155 /* display the message as an admin message in the receive window */ 156 156 if (owl_global_is_displayoutgoing(&g) && owl_zwrite_is_personal(&z)) { 157 tmpbuff=owl_malloc(strlen(owl_editwin_get_text(owl_global_get_typwin(&g)))+1024);158 157 owl_zwrite_get_recipstr(&z, buff); 159 sprintf(tmpbuff,"Message sent to %s", buff);158 tmpbuff = owl_sprintf("Message sent to %s", buff); 160 159 owl_function_adminmsg_outgoing(tmpbuff, owl_editwin_get_text(owl_global_get_typwin(&g)), line); 161 160 owl_free(tmpbuff); … … 1162 1161 } 1163 1162 1164 buff= malloc(num*200);1163 buff=owl_malloc(num*200); 1165 1164 strcpy(buff, ""); 1166 1165 for (i=0; i<num; i++) { … … 1173 1172 1174 1173 owl_function_popless_text(buff); 1175 free(buff);1174 owl_free(buff); 1176 1175 ZFlushSubscriptions(); 1177 1176 } … … 1266 1265 owl_view *v; 1267 1266 owl_filter *f; 1268 char buff[LINE];1269 1267 1270 1268 /* get the trash filter */ … … 1287 1285 } 1288 1286 owl_mainwin_redisplay(owl_global_get_mainwin(&g)); 1289 sprintf(buff, "%i messages marked for deletion", count); 1290 owl_function_makemsg(buff); 1287 owl_function_makemsg("%i messages marked for deletion", count); 1291 1288 owl_global_set_needrefresh(&g); 1292 1289 }
Note: See TracChangeset
for help on using the changeset viewer.