summaryrefslogtreecommitdiff
path: root/jni/iodine
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-11-29 22:54:00 +0100
committerYves Fischer <yvesf-git@xapek.org>2016-11-29 22:54:00 +0100
commit4b387f09f4ac4ef027a5fd506e3704f1d7860d53 (patch)
treedcbbfe8a11553c0fd7b392590e7c99e5e7f72e31 /jni/iodine
parent0095b9ff16ab7989027fd41716748dd53cd53d55 (diff)
downloadandiodine-fix-18.tar.gz
andiodine-fix-18.zip
Pass the request-type (qtype) to iodinefix-18
Closes #18
Diffstat (limited to 'jni/iodine')
-rw-r--r--jni/iodine/src/client.c3
1 files changed, 3 insertions, 0 deletions
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);
}