Changes in / [7b1d048:2febcae]


Ignore:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    rfa4f9c3 r3617286  
    17681768  char *recip="";
    17691769  int temp=0;
     1770  int ret=0;
    17701771 
    17711772  if (argc<3) {
     
    17971798  }
    17981799
    1799   owl_function_subscribe(argv[0], argv[1], recip);
    1800   if (!temp) {
     1800  ret = owl_function_subscribe(argv[0], argv[1], recip);
     1801  if (!temp && !ret) {
    18011802    owl_zephyr_addsub(NULL, argv[0], argv[1], recip);
    18021803  }
  • 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
Note: See TracChangeset for help on using the changeset viewer.