Changeset cdc6ff1 for functions.c


Ignore:
Timestamp:
Aug 22, 2008, 12:22:37 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:
da466e0
Parents:
680ada9
Message:
Implement a getfilter command to get the text of a filter.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r57cf4f9 rcdc6ff1  
    25242524{
    25252525  owl_filter *f;
    2526   char *buff;
     2526  char *buff, *tmp;
    25272527
    25282528  f=owl_global_get_filter(&g, name);
     
    25312531    return;
    25322532  }
    2533   buff = owl_filter_print(f);
     2533  tmp = owl_filter_print(f);
     2534  buff = owl_sprintf("%s: %s", owl_filter_get_name(f), tmp);
    25342535  owl_function_popless_text(buff);
    25352536  owl_free(buff);
     2537  owl_free(tmp);
    25362538}
    25372539
Note: See TracChangeset for help on using the changeset viewer.