From e0074d8b74f9e62df913a3817fc4cecf7cac2c69 Mon Sep 17 00:00:00 2001 From: Jesper Jensen Date: Tue, 5 Oct 2021 23:07:06 +0200 Subject: Respond correctly no unknown query method --- src/query.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/query.c') diff --git a/src/query.c b/src/query.c index 5645271..806c691 100644 --- a/src/query.c +++ b/src/query.c @@ -75,6 +75,7 @@ int handle_request(struct nodeid* self, const char* method, const char* packet, if(rc < 0) return QUERY_EBADQ; *response += rc; + }else if(strcmp(method, "get_peers") == 0) { } else { return QUERY_EUNK; } -- cgit v1.2.3