mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 05:27:47 +00:00
lib: Cleanup some missed reformat
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
0c5e7be5b3
commit
bf2394f08b
10
lib/buffer.c
10
lib/buffer.c
@ -482,10 +482,12 @@ buffer_status_t buffer_write(struct buffer *b, int fd, const void *p,
|
|||||||
ssize_t nbytes;
|
ssize_t nbytes;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/* Should we attempt to drain any previously buffered data? This could help
|
/*
|
||||||
reduce latency in pushing out the data if we are stuck in a long-running
|
* Should we attempt to drain any previously buffered data?
|
||||||
thread that is preventing the main select loop from calling the flush
|
* This could help reduce latency in pushing out the data if
|
||||||
thread... */
|
* we are stuck in a long-running thread that is preventing
|
||||||
|
* the main select loop from calling the flush thread...
|
||||||
|
*/
|
||||||
if (b->head && (buffer_flush_available(b, fd) == BUFFER_ERROR))
|
if (b->head && (buffer_flush_available(b, fd) == BUFFER_ERROR))
|
||||||
return BUFFER_ERROR;
|
return BUFFER_ERROR;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user