Changeset 34509d5 for functions.c
- Timestamp:
- Dec 23, 2007, 7:48:01 PM (17 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 93ee554
- Parents:
- 9a6cc40
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
r48609ce r34509d5 3025 3025 3026 3026 /* first, create the filter */ 3027 f= malloc(sizeof(owl_filter));3028 buff= malloc(strlen(class)+strlen(inst)+strlen(recip)+100);3027 f=owl_malloc(sizeof(owl_filter)); 3028 buff=owl_malloc(strlen(class)+strlen(inst)+strlen(recip)+100); 3029 3029 strcpy(buff, "class"); 3030 3030 if (!strcmp(class, "*")) { … … 3314 3314 if (ret==0) { 3315 3315 for (x=0; x<numlocs; x++) { 3316 line= malloc(strlen(location[x].host)+strlen(location[x].time)+strlen(location[x].tty)+100);3316 line=owl_malloc(strlen(location[x].host)+strlen(location[x].time)+strlen(location[x].tty)+100); 3317 3317 tmp=short_zuser(user); 3318 3318 sprintf(line, " %-10.10s %-24.24s %-12.12s %20.20s\n", … … 3420 3420 _exit(127); 3421 3421 } 3422 parsed= realloc(parsed, sizeof(*parsed) * (myargc+1));3422 parsed=owl_realloc(parsed, sizeof(*parsed) * (myargc+1)); 3423 3423 parsed[myargc] = NULL; 3424 3424
Note: See TracChangeset
for help on using the changeset viewer.