diff options
| author | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2006-03-22 16:40:03 +0000 | 
|---|---|---|
| committer | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2006-03-22 16:40:03 +0000 | 
| commit | 4e4196cb7454f47341efebe4e0a17f1b8cd534c7 (patch) | |
| tree | f3bd1c133ce6e698fd2ff3c0280c7103bfac7af3 /contrib/sendmail/libsm/fflush.c | |
| parent | 0c97652c0b3dbc161167bac72bd860ec7d0f48ab (diff) | |
Diffstat (limited to 'contrib/sendmail/libsm/fflush.c')
| -rw-r--r-- | contrib/sendmail/libsm/fflush.c | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/contrib/sendmail/libsm/fflush.c b/contrib/sendmail/libsm/fflush.c index 83b318e25990..19159e290480 100644 --- a/contrib/sendmail/libsm/fflush.c +++ b/contrib/sendmail/libsm/fflush.c @@ -1,5 +1,5 @@  /* - * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers. + * Copyright (c) 2000-2001, 2005, 2006 Sendmail, Inc. and its suppliers.   *      All rights reserved.   * Copyright (c) 1990, 1993   *	The Regents of the University of California.  All rights reserved. @@ -13,10 +13,10 @@   */  #include <sm/gen.h> -SM_RCSID("@(#)$Id: fflush.c,v 1.43 2001/09/11 04:04:48 gshapiro Exp $") +SM_RCSID("@(#)$Id: fflush.c,v 1.45 2006/03/03 22:25:00 ca Exp $")  #include <unistd.h>  #include <errno.h> -#include <sys/time.h> +#include <sm/time.h>  #include <signal.h>  #include <fcntl.h>  #include <string.h> @@ -145,6 +145,7 @@ sm_flush(fp, timeout)  				return SM_IO_EOF;  			}  			SM_IO_WR_TIMEOUT(fp, fd, *timeout); +			t = 0;  		}  	}  	return 0; | 
