Edit

IABSD.fr/ports/sysutils/cfengine/patches/patch-src_instrument_c

Branch :

  • Show log

    Commit

  • Author : okan
    Date : 2009-09-01 14:25:15
    Hash : 57f6993f
    Message : - update to 2.2.10 - update MASTER_SITES ok sturm@ william@

  • sysutils/cfengine/patches/patch-src_instrument_c
  • $OpenBSD: patch-src_instrument_c,v 1.3 2009/09/01 14:25:15 okan Exp $
    --- src/instrument.c.orig	Fri Feb 27 15:18:32 2009
    +++ src/instrument.c	Thu May 28 17:32:35 2009
    @@ -542,7 +542,7 @@ while (dbcp->c_get(dbcp, &key, &value, DB_NEXT) == 0)
        
        tthen = (time_t)then;
     
    -   snprintf(datebuf,CF_BUFSIZE-1,"%s",ctime(&tthen));
    +   snprintf(datebuf,CF_MAXVARSIZE-1,"%s",ctime(&tthen));
        datebuf[strlen(datebuf)-9] = '\0';                     /* Chop off second and year */
     
        snprintf(addr,15,"%s",hostname+1);