Diff for /libaitpelco/src/aitpelco.c between versions 1.2 and 1.3

version 1.2, 2011/05/10 20:26:08 version 1.3, 2012/07/22 22:21:50
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 76  pelcoSetErr(int eno, char *estr, ...) Line 76  pelcoSetErr(int eno, char *estr, ...)
         va_list lst;          va_list lst;
   
         pelco_Errno = eno;          pelco_Errno = eno;
        memset(pelco_Error, 0, STRSIZ);        memset(pelco_Error, 0, sizeof pelco_Error);
         va_start(lst, estr);          va_start(lst, estr);
        vsnprintf(pelco_Error, STRSIZ, estr, lst);        vsnprintf(pelco_Error, sizeof pelco_Error, estr, lst);
         va_end(lst);          va_end(lst);
 }  }
   

Removed from v.1.2  
changed lines
  Added in v.1.3


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