summaryrefslogtreecommitdiff
path: root/jni/iodine/src
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-11-29 22:54:00 +0100
committeryvesf <yvesf-git@xapek.org>2016-12-01 23:35:43 +0100
commit52914b0f7bffed0649372254268b7a07a42b1448 (patch)
treedcbbfe8a11553c0fd7b392590e7c99e5e7f72e31 /jni/iodine/src
parent13c7e0387fdcfb3d0a313d9f0d80ba1dcde10ed4 (diff)
downloadandiodine-52914b0f7bffed0649372254268b7a07a42b1448.tar.gz
andiodine-52914b0f7bffed0649372254268b7a07a42b1448.zip
Pass the request-type (qtype) to iodine
Closes #18
Diffstat (limited to 'jni/iodine/src')
-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);
}