Changeset be97670
- Timestamp:
- Oct 12, 2002, 10:50:50 AM (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:
- d023c25
- Parents:
- 68b41b0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
message.c
r68b41b0 rbe97670 485 485 486 486 void _owl_message_make_text_from_zwriteline_standard(owl_message *m) { 487 char *indent, *text, *zsigbuff ;487 char *indent, *text, *zsigbuff, *foo; 488 488 489 489 text=owl_message_get_body(m); … … 494 494 owl_fmtext_append_normal(&(m->fmtext), OWL_TABSTR); 495 495 owl_fmtext_append_normal(&(m->fmtext), "Zephyr sent to "); 496 owl_fmtext_append_normal(&(m->fmtext), owl_message_get_recipient(m)); 496 foo=short_zuser(owl_message_get_recipient(m)); 497 owl_fmtext_append_normal(&(m->fmtext), foo); 498 owl_free(foo); 497 499 owl_fmtext_append_normal(&(m->fmtext), " (Zsig: "); 498 500 -
util.c
r486688f rbe97670 399 399 400 400 char *short_zuser(char *in) { 401 /* the caller must free the return */ 401 402 char *out, *ptr; 402 403 /* the caller must free the return */ 403 404 404 out=owl_strdup(in); 405 405 ptr=strchr(out, '@'); … … 414 414 415 415 char *long_zuser(char *in) { 416 /* the caller must free the return */ 416 417 char *ptr; 417 418 418 /* the caller must free the return */419 419 if (NULL != (ptr=strchr(in, '@'))) { 420 420 return owl_strdup(in);
Note: See TracChangeset
for help on using the changeset viewer.