Changes in functions.c [5376a95:3617286]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
r5376a95 r3617286 1338 1338 } 1339 1339 1340 voidowl_function_subscribe(char *class, char *inst, char *recip)1340 int owl_function_subscribe(char *class, char *inst, char *recip) 1341 1341 { 1342 1342 int ret; … … 1348 1348 owl_function_makemsg("Subscribed."); 1349 1349 } 1350 return(ret); 1350 1351 } 1351 1352 … … 1605 1606 sprintf(buff, " Field %i : ", i+1); 1606 1607 1607 ptr=owl_zephyr_get_field _as_utf8(n, i+1);1608 ptr=owl_zephyr_get_field(n, i+1); 1608 1609 len=strlen(ptr); 1609 1610 if (len<30) { … … 2598 2599 } 2599 2600 /* downcase it */ 2600 { 2601 char *temp = g_utf8_strdown(filtname, -1); 2602 if (temp) { 2603 owl_free(filtname); 2604 filtname = temp; 2605 } 2606 } 2601 downstr(filtname); 2607 2602 /* turn spaces, single quotes, and double quotes into dots */ 2608 2603 owl_text_tr(filtname, ' ', '.'); … … 3029 3024 char *quoted; 3030 3025 3031 buff= owl_malloc(strlen(class)+strlen(inst)+strlen(recip)+100);3026 buff=malloc(strlen(class)+strlen(inst)+strlen(recip)+100); 3032 3027 strcpy(buff, "class"); 3033 3028 if (!strcmp(class, "*")) { … … 3333 3328 if (ret==0) { 3334 3329 for (x=0; x<numlocs; x++) { 3335 line= owl_malloc(strlen(location[x].host)+strlen(location[x].time)+strlen(location[x].tty)+100);3330 line=malloc(strlen(location[x].host)+strlen(location[x].time)+strlen(location[x].tty)+100); 3336 3331 tmp=short_zuser(user); 3337 3332 sprintf(line, " %-10.10s %-24.24s %-12.12s %20.20s\n", … … 3439 3434 _exit(127); 3440 3435 } 3441 parsed= owl_realloc(parsed, sizeof(*parsed) * (myargc+1));3436 parsed=realloc(parsed, sizeof(*parsed) * (myargc+1)); 3442 3437 parsed[myargc] = NULL; 3443 3438
Note: See TracChangeset
for help on using the changeset viewer.