diff --git a/src/dns/symbian/srv.cpp b/src/dns/symbian/srv.cpp index a6994d7..5283828 100644 --- a/src/dns/symbian/srv.cpp +++ b/src/dns/symbian/srv.cpp @@ -76,6 +76,9 @@ int get_symbiandns(struct sa *nsv, uint32_t *n) sock.Close(); serv.Close(); + if (i == 0) + return ENOENT; + *n = i; return 0;