diff options
Diffstat (limited to 'src/lmtp.c')
-rw-r--r-- | src/lmtp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lmtp.c b/src/lmtp.c index a8f10ee2c..d649d11c3 100644 --- a/src/lmtp.c +++ b/src/lmtp.c @@ -28,6 +28,7 @@ #include "lmtp.h" #include "lmtp_proto.h" #include "cfg_file.h" +#include "util.h" #include "url.h" #include "modules.h" #include "message.h" @@ -155,6 +156,9 @@ lmtp_read_socket (f_str_t *in, void *arg) lmtp_write_socket (lmtp); } break; + default: + msg_debug ("lmtp_read_socket: invalid state while reading from socket %d", lmtp->task->state); + break; } } @@ -183,6 +187,9 @@ lmtp_write_socket (void *arg) msg_debug ("lmtp_write_socket: normally closing connection"); free_task (lmtp, TRUE); break; + default: + msg_debug ("lmtp_write_socket: invalid state while writing to socket %d", lmtp->task->state); + break; } } |