Changeset ecd5dc5 for message.c


Ignore:
Timestamp:
Apr 12, 2003, 4:54:57 PM (18 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
e9b1f60
Parents:
8262340
Message:
M-p is bound to 'view personal' by default
loadsubs and loadloginsubs only print messages if in interactive
  mode
added the 'alert_filter' variable, defaults to 'none'.
added the 'alert_action' variable, which is an owl command that
  will be executed when new messages arive that match the
  alert_filter
added the 'term' command which takes the 'raise' and 'deiconify'
  options.  It assumes xterm for now.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • message.c

    r8262340 recd5dc5  
    472472    tmp2=owl_util_stripnewlines(tmp);
    473473    owl_message_set_body(m, tmp2);
    474     owl_free(tmp);
    475474    owl_free(tmp2);
    476475  } else {
    477476    owl_message_set_body(m, tmp);
    478477  }
     478  owl_free(tmp);
    479479
    480480  /* if zcrypt is enabled try to decrypt the message */
     
    743743
    744744  /* 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);
    747747
    748748  /* add a newline if we need to */
Note: See TracChangeset for help on using the changeset viewer.