- Timestamp:
- Aug 8, 2007, 6:01:51 PM (17 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- ce7b824
- Parents:
- b51d257
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
message.c
r21f0a9d rad15610 27 27 owl_fmtext_cache * owl_message_next_fmtext() /*noproto*/ 28 28 { 29 owl_fmtext_cache * f = fmtext_cache_next; 29 30 if(fmtext_cache_next->message != NULL) { 30 31 owl_message_invalidate_format(fmtext_cache_next->message); 31 32 } 32 owl_fmtext_cache * f = fmtext_cache_next;33 33 fmtext_cache_next++; 34 34 if(fmtext_cache_next - fmtext_cache == OWL_FMTEXT_CACHE_SIZE) … … 567 567 568 568 int owl_message_is_answered(owl_message *m) { 569 char *q; 569 570 if(!owl_message_is_question(m)) return 0; 570 char *q = owl_message_get_attribute_value(m, "question");571 q = owl_message_get_attribute_value(m, "question"); 571 572 if(!q) return 0; 572 573 return !strcmp(q, "answered");
Note: See TracChangeset
for help on using the changeset viewer.