Skip to content

Commit

Permalink
More BSD sillyness.
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb James DeLisle committed Mar 8, 2013
1 parent 6d49747 commit 95d0c17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions admin/angel/AngelInit.c
Expand Up @@ -234,9 +234,9 @@ int AngelInit_main(int argc, char** argv)
sendConfToCore(coreIface, tempAlloc, &config, eh, logger);

struct Message* coreResponse = InterfaceWaiter_waitForData(coreIface, eventBase, tempAlloc, eh);
// Ignore the result of write() without the compiler complaining.
ssize_t ret = write(outToClientNo, coreResponse->bytes, coreResponse->length);
ret = ret;
if (write(outToClientNo, coreResponse->bytes, coreResponse->length)) {
// Ignore the result of write() without the compiler complaining.
}

#ifdef Log_KEYS
uint8_t lastChar = coreResponse->bytes[coreResponse->length-1];
Expand Down
2 changes: 1 addition & 1 deletion cmake/modules/FindLibuv.cmake
Expand Up @@ -97,7 +97,7 @@ if (NOT LIBUV_FOUND AND "$ENV{NO_STATIC}" STREQUAL "")
if (APPLE)
set(MAKE_COMMAND "make")
else ()
if (BSD)
if (FREEBSD)
set(make gmake)
else()
set(make make)
Expand Down

0 comments on commit 95d0c17

Please sign in to comment.