Changeset d222c44 for global.c


Ignore:
Timestamp:
Jan 2, 2011, 3:35:15 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
719119de
Parents:
2bc6ad35
git-author:
David Benjamin <davidben@mit.edu> (12/14/10 23:53:38)
git-committer:
David Benjamin <davidben@mit.edu> (01/02/11 15:35:15)
Message:
Kill owl_getquoting and fix quoting bugs

That function is nonsense. Fix a number of quoting bugs relating to its
use (and lack thereof).

Also quote regex characters in CC narrows.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r8510d5b rd222c44  
    710710{
    711711  char *sn_escaped;
    712   const char *quote;
    713712  g->aim_loggedin=1;
    714713  if (g->aim_screenname) owl_free(g->aim_screenname);
     
    716715  g->aim_screenname=owl_strdup(screenname);
    717716  sn_escaped = owl_text_quote(screenname, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH);
    718   quote = owl_getquoting(sn_escaped);
    719   g->aim_screenname_for_filters=owl_sprintf("%s%s%s", quote, sn_escaped, quote);
     717  g->aim_screenname_for_filters = owl_arg_quote(sn_escaped);
    720718  owl_free(sn_escaped);
    721719}
Note: See TracChangeset for help on using the changeset viewer.