]>
Commit | Line | Data |
---|---|---|
a199319e | 1 | --- nmh-1.0.3/mts/smtp/smtp.c.compat21 Sun Sep 26 13:45:56 1999 |
2 | +++ nmh-1.0.3/mts/smtp/smtp.c Mon Feb 28 14:29:34 2000 | |
3 | @@ -1026,13 +1026,19 @@ | |
4 | static int | |
5 | sm_werror (void) | |
6 | { | |
7 | + | |
8 | +#ifdef MPOP | |
9 | sm_reply.length = | |
10 | strlen (strcpy (sm_reply.text, sm_wfp == NULL ? "no socket opened" | |
11 | : sm_alarmed ? "write to socket timed out" | |
12 | -#ifdef MPOP | |
13 | : sm_ispool ? "error writing to spool file" | |
14 | -#endif | |
15 | : "error writing to socket")); | |
16 | +#else | |
17 | + sm_reply.length = | |
18 | + strlen (strcpy (sm_reply.text, sm_wfp == NULL ? "no socket opened" | |
19 | + : sm_alarmed ? "write to socket timed out" | |
20 | + : "error writing to socket")); | |
21 | +#endif | |
22 | ||
23 | return (sm_reply.code = NOTOK); | |
24 | } |