From 52914b0f7bffed0649372254268b7a07a42b1448 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Tue, 29 Nov 2016 22:54:00 +0100 Subject: Pass the request-type (qtype) to iodine Closes #18 --- jni/iodine/src/client.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'jni/iodine') diff --git a/jni/iodine/src/client.c b/jni/iodine/src/client.c index 979f668..70ebe65 100644 --- a/jni/iodine/src/client.c +++ b/jni/iodine/src/client.c @@ -187,6 +187,9 @@ client_set_qtype(char *qtype) do_qtype = T_SRV; else if (!strcasecmp(qtype, "TXT")) do_qtype = T_TXT; + // Added for Andiodine: + else + do_qtype = T_UNSET; return (do_qtype == T_UNSET); } -- cgit v1.2.1