Changeset 0504f63 for owl.h


Ignore:
Timestamp:
Aug 10, 2008, 5:38:44 PM (13 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
e9bb404
Parents:
d81f8d0
Message:
Rewrite owl_filter_print to use GString.

barnowl will no longer segfault on `show filter' with filters over
5000 characters or so.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.h

    r731dd1e r0504f63  
    406406  int (*match_message)(struct _owl_filterelement *fe, owl_message *m);
    407407  /* Append a string representation of the filterelement onto buf*/
    408   void (*print_elt)(struct _owl_filterelement *fe, char * buf);
     408  void (*print_elt)(struct _owl_filterelement *fe, GString *buf);
    409409  /* Operands for and,or,not*/
    410410  struct _owl_filterelement *left, *right;
Note: See TracChangeset for help on using the changeset viewer.