- Timestamp:
- Apr 12, 2003, 4:54:57 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:
- e9b1f60
- Parents:
- 8262340
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
message.c
r8262340 recd5dc5 472 472 tmp2=owl_util_stripnewlines(tmp); 473 473 owl_message_set_body(m, tmp2); 474 owl_free(tmp);475 474 owl_free(tmp2); 476 475 } else { 477 476 owl_message_set_body(m, tmp); 478 477 } 478 owl_free(tmp); 479 479 480 480 /* if zcrypt is enabled try to decrypt the message */ … … 743 743 744 744 /* get the body */ 745 body=owl_ malloc(strlen(owl_message_get_body(m)+30));746 strcpy(body, owl_message_get_body(m));745 body=owl_strdup(owl_message_get_body(m)); 746 body=realloc(body, strlen(body)+30); 747 747 748 748 /* add a newline if we need to */
Note: See TracChangeset
for help on using the changeset viewer.