diff options
author | ache <ache@FreeBSD.org> | 1995-08-19 21:30:30 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-08-19 21:30:30 +0000 |
commit | b06a057b826e638a06edc1f92d5eed32662e0077 (patch) | |
tree | e1ea6a3b65e0f2e9f5d6e0f0f3956a82ada4b85b /gnu/libexec/uucp/uucico/prote.c | |
parent | a80ddb7b20df1716802b47c395201f120b369ee6 (diff) | |
download | FreeBSD-src-b06a057b826e638a06edc1f92d5eed32662e0077.zip FreeBSD-src-b06a057b826e638a06edc1f92d5eed32662e0077.tar.gz |
Commit delta: current -> 1.06 + FreeBSD configuration
Diffstat (limited to 'gnu/libexec/uucp/uucico/prote.c')
-rw-r--r-- | gnu/libexec/uucp/uucico/prote.c | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/gnu/libexec/uucp/uucico/prote.c b/gnu/libexec/uucp/uucico/prote.c index 4cff75b..fc73b5d 100644 --- a/gnu/libexec/uucp/uucico/prote.c +++ b/gnu/libexec/uucp/uucico/prote.c @@ -1,7 +1,7 @@ /* prote.c The 'e' protocol. - Copyright (C) 1991, 1992 Ian Lance Taylor + Copyright (C) 1991, 1992, 1995 Ian Lance Taylor This file is part of the Taylor UUCP package. @@ -17,16 +17,16 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. The author of the program may be contacted at ian@airs.com or - c/o Cygnus Support, Building 200, 1 Kendall Square, Cambridge, MA 02139. + c/o Cygnus Support, 48 Grove Street, Somerville, MA 02144. */ #include "uucp.h" #if USE_RCS_ID -const char prote_rcsid[] = "$Id: prote.c,v 1.2 1994/05/07 18:13:43 ache Exp $"; +const char prote_rcsid[] = "$Id: prote.c,v 1.20 1995/08/02 00:24:28 ian Rel $"; #endif #include "uudefs.h" @@ -97,7 +97,7 @@ festart (qdaemon, pzlog) /* Stop the protocol. */ /*ARGSUSED*/ -boolean +boolean feshutdown (qdaemon) struct sdaemon *qdaemon; { @@ -254,6 +254,16 @@ feprocess_data (qdaemon, pfexit, pcneed) cinbuf = iPrecend - iPrecstart; if (cinbuf < 0) cinbuf += CRECBUFLEN; + + if (cEbytes == 0) + { + if (! fgot_data (qdaemon, abPrecbuf, (size_t) 0, + (const char *) NULL, (size_t) 0, + -1, -1, (long) -1, TRUE, pfexit)) + return FALSE; + if (*pfexit) + return TRUE; + } } /* Here we can read real data for the file. */ |