From fa6bf24d8030b0e54fd25b167064482e4cf08a36 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 13 Dec 2009 14:45:23 +0100 Subject: XREP & XREQ socket types added; zmq_queue device added --- devices/zmq_forwarder/Makefile.am | 2 +- devices/zmq_forwarder/zmq_forwarder.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'devices/zmq_forwarder') diff --git a/devices/zmq_forwarder/Makefile.am b/devices/zmq_forwarder/Makefile.am index ff51d88..ee48cda 100644 --- a/devices/zmq_forwarder/Makefile.am +++ b/devices/zmq_forwarder/Makefile.am @@ -1,4 +1,4 @@ -INCLUDES = -I$(top_builddir)/bindings/c +INCLUDES = -I$(top_srcdir)/bindings/cpp -I$(top_srcdir)/bindings/c bin_PROGRAMS = zmq_forwarder diff --git a/devices/zmq_forwarder/zmq_forwarder.cpp b/devices/zmq_forwarder/zmq_forwarder.cpp index d29ed62..277af72 100644 --- a/devices/zmq_forwarder/zmq_forwarder.cpp +++ b/devices/zmq_forwarder/zmq_forwarder.cpp @@ -29,7 +29,7 @@ int main (int argc, char *argv []) XMLNode root = XMLNode::parseFile (argv [1]); if (root.isEmpty ()) { - fprintf (stderr, "configuration file not found\n"); + fprintf (stderr, "configuration file not found or not an XML file\n"); return 1; } -- cgit v1.2.3