From 0ce02058ebc35184b91399eee35d44ef01cd9e38 Mon Sep 17 00:00:00 2001 From: malosek Date: Mon, 12 Oct 2009 22:51:41 +0200 Subject: updated 0MQ to recent OpenPGM2 rev.562 --- src/Makefile.am | 1 + src/pgm_socket.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3