comparison src/imap/ngx_imap_handler.c @ 814:760ed037a5a4

fix log message
author Igor Sysoev <igor@sysoev.ru>
date Wed, 25 Oct 2006 15:38:02 +0000
parents e3aa8f305d21
children 7b8692910220
comparison
equal deleted inserted replaced
813:a608349951cf 814:760ed037a5a4
1061 1061
1062 while (p < last && *p++) { /* void */ } 1062 while (p < last && *p++) { /* void */ }
1063 1063
1064 if (p == last) { 1064 if (p == last) {
1065 ngx_log_error(NGX_LOG_INFO, c->log, 0, 1065 ngx_log_error(NGX_LOG_INFO, c->log, 0,
1066 "client sent invalid login/password " 1066 "client sent invalid login "
1067 "in AUTH PLAIN command"); 1067 "in AUTH PLAIN command");
1068 rc = NGX_IMAP_PARSE_INVALID_COMMAND; 1068 rc = NGX_IMAP_PARSE_INVALID_COMMAND;
1069 break; 1069 break;
1070 } 1070 }
1071 1071
1073 1073
1074 while (p < last && *p) { p++; } 1074 while (p < last && *p) { p++; }
1075 1075
1076 if (p == last) { 1076 if (p == last) {
1077 ngx_log_error(NGX_LOG_INFO, c->log, 0, 1077 ngx_log_error(NGX_LOG_INFO, c->log, 0,
1078 "client sent invalid login/password " 1078 "client sent invalid password "
1079 "in AUTH PLAIN command"); 1079 "in AUTH PLAIN command");
1080 rc = NGX_IMAP_PARSE_INVALID_COMMAND; 1080 rc = NGX_IMAP_PARSE_INVALID_COMMAND;
1081 break; 1081 break;
1082 } 1082 }
1083 1083