summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am1
-rw-r--r--src/pgm_socket.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c13441b..767b1e5 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -224,6 +224,7 @@ libpgm_diff_flags = \
-DCONFIG_HAVE_IFR_NETMASK \
-DCONFIG_BIND_INADDR_ANY \
-DCONFIG_GALOIS_MUL_LUT \
+ -DIF_NAMESIZE=256 \
-DGETTEXT_PACKAGE='"pgm"' \
-DG_LOG_DOMAIN='"Pgm"'
diff --git a/src/pgm_socket.cpp b/src/pgm_socket.cpp
index da8da3b..0a4ffa3 100644
--- a/src/pgm_socket.cpp
+++ b/src/pgm_socket.cpp
@@ -165,7 +165,7 @@ int zmq::pgm_socket_t::open_transport (void)
#ifdef ZMQ_HAVE_OPENPGM1
rc = pgm_create_custom_gsi (gsi_base.c_str (), &gsi);
#elif defined ZMQ_HAVE_OPENPGM2
- rc = pgm_gsi_create_from_string (gsi_base.c_str (), &gsi);
+ rc = pgm_gsi_create_from_string (&gsi, gsi_base.c_str (), -1);
#endif
if (rc != pgm_ok) {