Diff for /libaitrpc/src/builtin.c between versions 1.4.2.2 and 1.6

version 1.4.2.2, 2011/11/03 12:52:36 version 1.6, 2012/03/15 01:55:33
Line 12  terms: Line 12  terms:
 All of the documentation and software included in the ELWIX and AITNET  All of the documentation and software included in the ELWIX and AITNET
 Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>
   
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
         by Michael Pounov <misho@elwix.org>.  All rights reserved.          by Michael Pounov <misho@elwix.org>.  All rights reserved.
   
 Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
Line 129  rpcServerCalls(rpc_func_t *call, int ic, array_t *iv) Line 129  rpcServerCalls(rpc_func_t *call, int ic, array_t *iv)
                 memset(val, 0, len);                  memset(val, 0, len);
   
         for (f = srv->srv_funcs, i = 0; f; f = f->func_next) {          for (f = srv->srv_funcs, i = 0; f; f = f->func_next) {
                if (*f->func_name) {                if (*AIT_GET_STR(&f->func_name)) {
                         memset(str, 0, sizeof str);                          memset(str, 0, sizeof str);
                        snprintf(str, sizeof str, "/%s/%s(%d); ",                         if (AIT_ISEMPTY(&f->func_file))
                                        *f->func_file ? f->func_file : "*",                                 snprintf(str, sizeof str, "/*/%s(%d); ", 
                                        f->func_name, io_arraySize(f->func_vars));                                                AIT_GET_STR(&f->func_name), io_arraySize(f->func_vars));
                         else
                                 snprintf(str, sizeof str, "/%s/%s(%d); ", AIT_GET_STR(&f->func_file), 
                                                 AIT_GET_STR(&f->func_name), io_arraySize(f->func_vars));
                         strlcat(val, str, len);                          strlcat(val, str, len);
                 }                  }
         }          }

Removed from v.1.4.2.2  
changed lines
  Added in v.1.6


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>