Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r5376a95 r3617286  
    13381338}
    13391339
    1340 void owl_function_subscribe(char *class, char *inst, char *recip)
     1340int owl_function_subscribe(char *class, char *inst, char *recip)
    13411341{
    13421342  int ret;
     
    13481348    owl_function_makemsg("Subscribed.");
    13491349  }
     1350  return(ret);
    13501351}
    13511352
     
    16051606          sprintf(buff, "  Field %i   : ", i+1);
    16061607         
    1607           ptr=owl_zephyr_get_field_as_utf8(n, i+1);
     1608          ptr=owl_zephyr_get_field(n, i+1);
    16081609          len=strlen(ptr);
    16091610          if (len<30) {
     
    25982599  }
    25992600  /* 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);
    26072602  /* turn spaces, single quotes, and double quotes into dots */
    26082603  owl_text_tr(filtname, ' ', '.');
     
    30293024  char *quoted;
    30303025
    3031   buff=owl_malloc(strlen(class)+strlen(inst)+strlen(recip)+100);
     3026  buff=malloc(strlen(class)+strlen(inst)+strlen(recip)+100);
    30323027  strcpy(buff, "class");
    30333028  if (!strcmp(class, "*")) {
     
    33333328          if (ret==0) {
    33343329            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);
    33363331              tmp=short_zuser(user);
    33373332              sprintf(line, "  %-10.10s %-24.24s %-12.12s  %20.20s\n",
     
    34393434          _exit(127);
    34403435        }
    3441         parsed=owl_realloc(parsed, sizeof(*parsed) * (myargc+1));
     3436        parsed=realloc(parsed, sizeof(*parsed) * (myargc+1));
    34423437        parsed[myargc] = NULL;
    34433438       
Note: See TracChangeset for help on using the changeset viewer.