summaryrefslogtreecommitdiff
path: root/src/session_base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/session_base.cpp')
-rw-r--r--src/session_base.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session_base.cpp b/src/session_base.cpp
index da9ee8e..12d2e8d 100644
--- a/src/session_base.cpp
+++ b/src/session_base.cpp
@@ -461,7 +461,7 @@ void xs::session_base_t::start_connecting (bool wait_)
alloc_assert (pgm_sender);
int rc = pgm_sender->init (udp_encapsulation, address.c_str ());
- xs_assert (rc == 0);
+ errno_assert (rc == 0);
send_attach (this, pgm_sender);
}
@@ -473,7 +473,7 @@ void xs::session_base_t::start_connecting (bool wait_)
alloc_assert (pgm_receiver);
int rc = pgm_receiver->init (udp_encapsulation, address.c_str ());
- xs_assert (rc == 0);
+ errno_assert (rc == 0);
send_attach (this, pgm_receiver);
}