Mercurial > hg > nginx-quic
comparison src/core/ngx_log.c @ 2302:2abf14c952a2
compatibility with glibc 2.3, warn_unused_result attribute for write()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 11 Nov 2008 16:17:45 +0000 |
parents | e958b3cab51a |
children | ad08367a257b |
comparison
equal
deleted
inserted
replaced
2301:148c2e840c2b | 2302:2abf14c952a2 |
---|---|
156 p = last - NGX_LINEFEED_SIZE; | 156 p = last - NGX_LINEFEED_SIZE; |
157 } | 157 } |
158 | 158 |
159 ngx_linefeed(p); | 159 ngx_linefeed(p); |
160 | 160 |
161 ngx_write_fd(log->file->fd, errstr, p - errstr); | 161 (void) ngx_write_fd(log->file->fd, errstr, p - errstr); |
162 } | 162 } |
163 | 163 |
164 | 164 |
165 #if !(NGX_HAVE_VARIADIC_MACROS) | 165 #if !(NGX_HAVE_VARIADIC_MACROS) |
166 | 166 |