summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2009-10-12 22:51:41 +0200
committermalosek <malosek@fastmq.com>2009-10-12 22:51:41 +0200
commit0ce02058ebc35184b91399eee35d44ef01cd9e38 (patch)
treebca91432735a9a14567638acd924f828689c7dd8
parentea2f6558fd2a759b78364ded493c598f5ca5a2d3 (diff)
updated 0MQ to recent OpenPGM2 rev.562
-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) {