summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-03-25 11:26:20 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-03-25 13:05:54 -0400
commitb53e10a1739b31cb8900ea792572d15919edbcea (patch)
tree78c58b2bb8f154a83dd5ebc13aa34a65aba205ae /lib/command.c
parent1e22a2af507e0a51236d250e57145659754f81bb (diff)
lib: Size the pollfds array once
The pollfds was being resized if the # of fds grew to be more than the original array size. Just size it once. Ticket: CM-10077 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions