- Timestamp:
- Jul 11, 2002, 12:47:16 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:
- aa2f33b3
- Parents:
- e173507
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
message.c
r1aee7d9 re50cd56 607 607 } 608 608 609 /* caller must free return value. */ 610 char *owl_message_get_cc(owl_message *m) { 611 char *cur, *out, *end; 612 613 cur = owl_message_get_body(m); 614 while (*cur && *cur==' ') cur++; 615 if (strncasecmp(cur, "cc:", 2)) return(NULL); 616 cur+=3; 617 while (*cur && *cur==' ') cur++; 618 out = owl_strdup(cur); 619 end = strchr(out, '\n'); 620 if (end) end[0] = '\0'; 621 return(out); 622 } 623 609 624 int owl_message_get_id(owl_message *m) { 610 625 return(m->id);
Note: See TracChangeset
for help on using the changeset viewer.