fp to stdin, so we know it's equal to stdin), and update a comment.
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.131 2005-05-01 19:53:11 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/savefile.c,v 1.132 2005-05-01 19:57:31 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
fp = stdin;
#if defined(WIN32) || defined(MSDOS)
/*
- * If we're reading from the standard input, put it in binary
+ * We're reading from the standard input, so put it in binary
* mode, as savefiles are binary files.
*/
- if (fp == stdin)
- SET_BINMODE(fp);
+ SET_BINMODE(fp);
#endif
}
else {