Mercurial > hg > nginx-quic
comparison src/core/ngx_conf_file.c @ 167:8aef3c72e5da
nginx-0.0.1-2003-10-30-19:51:33 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 30 Oct 2003 16:51:33 +0000 |
parents | 389d7ee9fa60 |
children | caa57ddf6d77 |
comparison
equal
deleted
inserted
replaced
166:389d7ee9fa60 | 167:8aef3c72e5da |
---|---|
739 if (bufs->num == NGX_ERROR || bufs->num == 0) { | 739 if (bufs->num == NGX_ERROR || bufs->num == 0) { |
740 return "invalid value"; | 740 return "invalid value"; |
741 } | 741 } |
742 | 742 |
743 bufs->size = ngx_parse_size(&value[2]); | 743 bufs->size = ngx_parse_size(&value[2]); |
744 if (bufs->size == NGX_ERROR || bufs->size == 0) { | 744 if (bufs->size == (size_t) NGX_ERROR || bufs->size == 0) { |
745 return "invalid value"; | 745 return "invalid value"; |
746 } | 746 } |
747 | 747 |
748 return NGX_CONF_OK; | 748 return NGX_CONF_OK; |
749 } | 749 } |