summaryrefslogtreecommitdiff
path: root/src/rexmpp_dns.h
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2020-11-26 10:31:01 +0300
committerdefanor <defanor@uberspace.net>2020-11-26 10:31:01 +0300
commit1e242aaf63f40dc3b6f9447e5f677f4e7d60bccc (patch)
tree354d34f23edda85f642998dca642830c79d39ed1 /src/rexmpp_dns.h
parent2bf30b026aa22038e079043ed2dcdfc5aab4c725 (diff)
Propagate more errors back
Still not certain whether rexmpp_run should return anything other than REXMPP_E_AGAIN and REXMPP_E_SUCCESS, since the library handles reconnects, but perhaps some errors could be critical. It should be sorted out in the future.
Diffstat (limited to 'src/rexmpp_dns.h')
-rw-r--r--src/rexmpp_dns.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rexmpp_dns.h b/src/rexmpp_dns.h
index f9c8b81..9d9f271 100644
--- a/src/rexmpp_dns.h
+++ b/src/rexmpp_dns.h
@@ -26,6 +26,7 @@ struct rexmpp_dns_srv {
@param[out] out A structure to fill with data.
@returns 0 on success, non-zero on parsing failure.
*/
-int rexmpp_parse_srv (char *in, int in_len, struct rexmpp_dns_srv *out);
+int
+rexmpp_parse_srv (char *in, int in_len, struct rexmpp_dns_srv *out);
#endif