Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r3939268 r28ee32b  
    25982598  }
    25992599  /* downcase it */
    2600   downstr(filtname);
     2600  {
     2601    char *temp = g_utf8_strdown(filtname, -1);
     2602    if (temp) {
     2603      owl_free(filtname);
     2604      filtname = temp;
     2605    }
     2606  }
    26012607  /* turn spaces, single quotes, and double quotes into dots */
    26022608  owl_text_tr(filtname, ' ', '.');
     
    30233029  char *quoted;
    30243030
    3025   buff=malloc(strlen(class)+strlen(inst)+strlen(recip)+100);
     3031  buff=owl_malloc(strlen(class)+strlen(inst)+strlen(recip)+100);
    30263032  strcpy(buff, "class");
    30273033  if (!strcmp(class, "*")) {
     
    33273333          if (ret==0) {
    33283334            for (x=0; x<numlocs; x++) {
    3329               line=malloc(strlen(location[x].host)+strlen(location[x].time)+strlen(location[x].tty)+100);
     3335              line=owl_malloc(strlen(location[x].host)+strlen(location[x].time)+strlen(location[x].tty)+100);
    33303336              tmp=short_zuser(user);
    33313337              sprintf(line, "  %-10.10s %-24.24s %-12.12s  %20.20s\n",
     
    34333439          _exit(127);
    34343440        }
    3435         parsed=realloc(parsed, sizeof(*parsed) * (myargc+1));
     3441        parsed=owl_realloc(parsed, sizeof(*parsed) * (myargc+1));
    34363442        parsed[myargc] = NULL;
    34373443       
Note: See TracChangeset for help on using the changeset viewer.