The prototype and example on the rmr_wh_open man page
incorrectly reference rmr_open() and not rmr_wh_open().
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I667da2e5976ece04952d34e9110832f30f51e68e
&ex_start
#include <rmr/rmr.h>
-void* rmr_open( void* vctx, char* target )
+void* rmr_wh_open( void* vctx, char* target )
&ex_end
&uindent
rmr_whid_t wh;
rmc = rmr_init( "43086", 4096, 0 ); // init context
- wh = rmr_open( rmc, "localhost:6123" );
+ wh = rmr_wh_open( rmc, "localhost:6123" );
if( !RMR_WH_CONNECTED( wh ) ) {
fprintf( stderr, "unable to connect wormhole: %s\n",
strerror( errno ) );