summaryrefslogtreecommitdiffstats
path: root/src/async.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-08-18 22:08:30 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-08-18 22:08:30 +0200
commitcb3c88e020dbfd028f7d8b79b9bf97bcb0b34ea5 (patch)
tree77a4aa43ce21d7ade33243af9666e4a6fe2a4cb7 /src/async.c
parent5d111c83ff2fb9fb1e094ccfdfa919a4731ec05b (diff)
downloadfastd-cb3c88e020dbfd028f7d8b79b9bf97bcb0b34ea5.tar
fastd-cb3c88e020dbfd028f7d8b79b9bf97bcb0b34ea5.zip
Rename WITH_VERIFY CMake option to WITH_DYNAMIC_PEERS
Diffstat (limited to 'src/async.c')
-rw-r--r--src/async.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/async.c b/src/async.c
index 4348194..3ab5f5d 100644
--- a/src/async.c
+++ b/src/async.c
@@ -73,7 +73,7 @@ static void handle_resolve_return(const fastd_async_resolve_return_t *resolve_re
fastd_peer_handle_resolve(peer, remote, resolve_return->n_addr, resolve_return->addr);
}
-#ifdef WITH_VERIFY
+#ifdef WITH_DYNAMIC_PEERS
/** Handles a on-verify response */
static void handle_verify_return(const fastd_async_verify_return_t *verify_return) {
@@ -123,7 +123,7 @@ void fastd_async_handle(void) {
handle_resolve_return((const fastd_async_resolve_return_t *)buf);
break;
-#ifdef WITH_VERIFY
+#ifdef WITH_DYNAMIC_PEERS
case ASYNC_TYPE_VERIFY_RETURN:
handle_verify_return((const fastd_async_verify_return_t *)buf);
break;