projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added whom, it's the fifth program referred to in mh-draft man page.
[mmh]
/
test
/
fakesmtp.c
diff --git
a/test/fakesmtp.c
b/test/fakesmtp.c
index
19df2e9
..
700bc45
100644
(file)
--- a/
test/fakesmtp.c
+++ b/
test/fakesmtp.c
@@
-240,7
+240,7
@@
static int
getsmtp(int socket, char *data)
{
int cc;
getsmtp(int socket, char *data)
{
int cc;
- static int bytesinbuf = 0;
+ static unsigned int bytesinbuf = 0;
static char buffer[LINESIZE * 2], *p;
for (;;) {
static char buffer[LINESIZE * 2], *p;
for (;;) {
@@
-294,6
+294,8
@@
getsmtp(int socket, char *data)
static void
handleterm(int signal)
{
static void
handleterm(int signal)
{
+ (void) signal;
+
killpidfile();
fflush(NULL);
_exit(1);
killpidfile();
fflush(NULL);
_exit(1);