build: fix GCC 6 warning about EAGAIN and EWOULDBLOCK being equal
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 15 Jun 2016 22:38:11 +0000 (00:38 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 15 Jun 2016 22:38:30 +0000 (00:38 +0200)
commitac80336d56e5eecfb6acf9e7469e9c73f3b3cc36
tree25c8c63914c7ded016269c2ae13d24e8ec811ad0
parent1c32e778d0aa8407e355cdd72b157b9b9d91678a
build: fix GCC 6 warning about EAGAIN and EWOULDBLOCK being equal

olsrd_info.c: In function ‘write_data’:
olsrd_info.c:374:48: error: logical ‘or’ of equal expressions [-Werror=logical-op]
     if ((result < 0) && ((errno == EWOULDBLOCK) || (errno == EAGAIN))) {
                                                ^~

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/info/olsrd_info.c
lib/quagga/src/client.c