Changeset d4927a7 for filterelement.c


Ignore:
Timestamp:
Feb 11, 2011, 4:31:46 PM (11 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
3472845
Parents:
ddbbcffa
git-author:
Anders Kaseorg <andersk@mit.edu> (08/27/09 00:55:10)
git-committer:
Anders Kaseorg <andersk@mit.edu> (02/11/11 16:31:46)
Message:
Replace owl_strdup with g_strdup.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Karl Ramm <kcr@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • filterelement.c

    rddbbcffa rd4927a7  
    214214{
    215215  owl_filterelement_create(fe);
    216   fe->field=owl_strdup(field);
     216  fe->field=g_strdup(field);
    217217  if(owl_regex_create(&(fe->re), re)) {
    218218    g_free(fe->field);
     
    228228{
    229229  owl_filterelement_create(fe);
    230   fe->field=owl_strdup(name);
     230  fe->field=g_strdup(name);
    231231  fe->match_message = owl_filterelement_match_filter;
    232232  fe->print_elt = owl_filterelement_print_filter;
     
    236236{
    237237  owl_filterelement_create(fe);
    238   fe->field=owl_strdup(name);
     238  fe->field=g_strdup(name);
    239239  fe->match_message = owl_filterelement_match_perl;
    240240  fe->print_elt = owl_filterelement_print_perl;
Note: See TracChangeset for help on using the changeset viewer.