summaryrefslogtreecommitdiff
path: root/src/net.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-09-15 19:38:05 +0200
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-09-15 19:38:05 +0200
commitdacf1e515f57f5f0e57fa61d69084ee40f959574 (patch)
tree246651ae2c3331a1eadf736e75805e1440747f29 /src/net.c
parentf6c5a53d2dcde84d2af82ceaff496a7883852dca (diff)
rename error() to error_msg() fixes #295
Diffstat (limited to 'src/net.c')
-rw-r--r--src/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.c b/src/net.c
index 60e6559..dff8444 100644
--- a/src/net.c
+++ b/src/net.c
@@ -243,13 +243,13 @@ int net_alloc(struct network **netp, const struct config_net *cfg, int af)
*/
#ifdef HAVE_INET6
if (!check_ipv6()) {
- error("libre was compiled without IPv6-support"
+ error_msg("libre was compiled without IPv6-support"
", but baresip was compiled with\n");
return EAFNOSUPPORT;
}
#else
if (check_ipv6()) {
- error("libre was compiled with IPv6-support"
+ error_msg("libre was compiled with IPv6-support"
", but baresip was compiled without\n");
return EAFNOSUPPORT;
}