Changes in functions.c [3939268:28ee32b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
r3939268 r28ee32b 2598 2598 } 2599 2599 /* 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 } 2601 2607 /* turn spaces, single quotes, and double quotes into dots */ 2602 2608 owl_text_tr(filtname, ' ', '.'); … … 3023 3029 char *quoted; 3024 3030 3025 buff= malloc(strlen(class)+strlen(inst)+strlen(recip)+100);3031 buff=owl_malloc(strlen(class)+strlen(inst)+strlen(recip)+100); 3026 3032 strcpy(buff, "class"); 3027 3033 if (!strcmp(class, "*")) { … … 3327 3333 if (ret==0) { 3328 3334 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); 3330 3336 tmp=short_zuser(user); 3331 3337 sprintf(line, " %-10.10s %-24.24s %-12.12s %20.20s\n", … … 3433 3439 _exit(127); 3434 3440 } 3435 parsed= realloc(parsed, sizeof(*parsed) * (myargc+1));3441 parsed=owl_realloc(parsed, sizeof(*parsed) * (myargc+1)); 3436 3442 parsed[myargc] = NULL; 3437 3443
Note: See TracChangeset
for help on using the changeset viewer.