Changeset 04a061f


Ignore:
Timestamp:
Mar 29, 2009, 3:14:54 PM (16 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
owl
Children:
8e1657c
Parents:
a0bde15
Message:
another sprintf -> owl_sprintf in aimuserfilt
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    ra0bde15 r04a061f  
    26352635  escuser = owl_text_quote(user, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH);
    26362636
    2637   argbuff=owl_malloc(1000);
    2638   sprintf(argbuff,
    2639           "( type ^aim$ and ( ( sender ^%s$ and recipient ^%s$ ) or ( sender ^%s$ and recipient ^%s$ ) ) )",
    2640           escuser, owl_global_get_aim_screenname(&g), owl_global_get_aim_screenname(&g), escuser);
     2637  argbuff = owl_sprintf(
     2638      "( type ^aim$ and ( ( sender ^%1$s$ and recipient ^%2$s$ ) or "
     2639      "( sender ^%2$s$ and recipient ^%1$s$ ) ) )",
     2640      escuser, owl_global_get_aim_screenname(&g));
    26412641
    26422642  owl_filter_init_fromstring(f, filtname, argbuff);
Note: See TracChangeset for help on using the changeset viewer.