masqmail
diff src/smtp_in.c @ 15:f671821d8222
code beautifying; 0 -> \0 if appropriate
author | meillo@marmaro.de |
---|---|
date | Thu, 06 Nov 2008 09:18:38 +0100 |
parents | 26e34ae9a3e3 |
children | e5090ac234cf |
line diff
1.1 --- a/src/smtp_in.c Wed Oct 29 21:21:26 2008 +0100 1.2 +++ b/src/smtp_in.c Thu Nov 06 09:18:38 2008 +0100 1.3 @@ -31,24 +31,15 @@ 1.4 #ifdef ENABLE_SMTP_SERVER 1.5 1.6 smtp_cmd smtp_cmds[] = { 1.7 - {SMTP_HELO, "HELO",} 1.8 - , 1.9 - {SMTP_EHLO, "EHLO",} 1.10 - , 1.11 - {SMTP_MAIL_FROM, "MAIL FROM:",} 1.12 - , 1.13 - {SMTP_RCPT_TO, "RCPT TO:",} 1.14 - , 1.15 - {SMTP_DATA, "DATA",} 1.16 - , 1.17 - {SMTP_QUIT, "QUIT",} 1.18 - , 1.19 - {SMTP_RSET, "RSET",} 1.20 - , 1.21 - {SMTP_NOOP, "NOOP",} 1.22 - , 1.23 - {SMTP_HELP, "HELP"} 1.24 - , 1.25 + {SMTP_HELO, "HELO",}, 1.26 + {SMTP_EHLO, "EHLO",}, 1.27 + {SMTP_MAIL_FROM, "MAIL FROM:",}, 1.28 + {SMTP_RCPT_TO, "RCPT TO:",}, 1.29 + {SMTP_DATA, "DATA",}, 1.30 + {SMTP_QUIT, "QUIT",}, 1.31 + {SMTP_RSET, "RSET",}, 1.32 + {SMTP_NOOP, "NOOP",}, 1.33 + {SMTP_HELP, "HELP"}, 1.34 }; 1.35 1.36 static smtp_cmd_id 1.37 @@ -65,7 +56,6 @@ 1.38 /* this is a quick hack: we expect the address to be syntactically correct 1.39 and containing the mailbox only: 1.40 */ 1.41 - 1.42 static gboolean 1.43 get_address(gchar * line, gchar * addr) 1.44 {