Ticket #19577: patch-src-logreader.c.diff
File patch-src-logreader.c.diff, 551 bytes (added by denis.laplante@…, 16 years ago) |
---|
-
src/logreader.c
log_reader_fetch_log(LogReader *self, FDRead *fd) 439 439 g_sockaddr_unref(sa); 440 440 return FALSE; 441 441 } 442 else 442 else if (rc > 0) 443 443 { 444 444 if (self->options->padding && rc != self->options->padding) 445 445 { … … log_reader_fetch_log(LogReader *self, FDRead *fd) 457 457 } 458 458 459 459 g_sockaddr_unref(sa); 460 if ( self->flags & LR_NOMREAD)460 if (rc == 0 || (self->flags & LR_NOMREAD)) 461 461 break; 462 462 } 463 463 return TRUE;