comparison src/core/ngx_conf_file.c @ 177:4db54fdbcbe7

nginx-0.0.1-2003-11-10-20:17:31 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 10 Nov 2003 17:17:31 +0000
parents c0552e5ab567
children d5f50cefc322
comparison
equal deleted inserted replaced
176:c0552e5ab567 177:4db54fdbcbe7
366 366
367 if (ch == ';' || ch == '{') { 367 if (ch == ';' || ch == '{') {
368 return NGX_OK; 368 return NGX_OK;
369 } 369 }
370 370
371 ngx_log_error(NGX_LOG_EMERG, cf->log, 0,
372 "unexpected '%c' in %s:%d",
373 ch, cf->conf_file->file.name.data,
374 cf->conf_file->line);
375
371 return NGX_ERROR; 376 return NGX_ERROR;
372 } 377 }
373 378
374 if (last_space) { 379 if (last_space) {
375 if (ch == ' ' || ch == '\t' || ch == CR || ch == LF) { 380 if (ch == ' ' || ch == '\t' || ch == CR || ch == LF) {