comparison src/event/modules/ngx_select_module.c @ 5803:ecfc601f1225

Events: format specifier fixes.
author Yves Crespin <yves.crespin@e-quartz.fr>
date Thu, 07 Aug 2014 15:04:43 +0200
parents 32847478c2c1
children 3377f9459e99
comparison
equal deleted inserted replaced
5802:a4e9c7e6e062 5803:ecfc601f1225
225 max_fd = c->fd; 225 max_fd = c->fd;
226 } 226 }
227 } 227 }
228 228
229 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, 229 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
230 "change max_fd: %d", max_fd); 230 "change max_fd: %i", max_fd);
231 } 231 }
232 232
233 #if (NGX_DEBUG) 233 #if (NGX_DEBUG)
234 if (cycle->log->log_level & NGX_LOG_DEBUG_ALL) { 234 if (cycle->log->log_level & NGX_LOG_DEBUG_ALL) {
235 for (i = 0; i < nevents; i++) { 235 for (i = 0; i < nevents; i++) {
238 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0, 238 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
239 "select event: fd:%d wr:%d", c->fd, ev->write); 239 "select event: fd:%d wr:%d", c->fd, ev->write);
240 } 240 }
241 241
242 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, 242 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
243 "max_fd: %d", max_fd); 243 "max_fd: %i", max_fd);
244 } 244 }
245 #endif 245 #endif
246 246
247 if (timer == NGX_TIMER_INFINITE) { 247 if (timer == NGX_TIMER_INFINITE) {
248 tp = NULL; 248 tp = NULL;