trim local prefix
diff --git a/ccnx/ccnx-wrapper.cpp b/ccnx/ccnx-wrapper.cpp
index a8c06a3..f5d20c0 100644
--- a/ccnx/ccnx-wrapper.cpp
+++ b/ccnx/ccnx-wrapper.cpp
@@ -28,6 +28,7 @@
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/random.hpp>
#include <boost/make_shared.hpp>
+#include <boost/algorithm/string.hpp>
#include <sstream>
typedef boost::error_info<struct tag_errmsg, std::string> errmsg_info_str;
@@ -456,6 +457,7 @@
ccn_disconnect (tmp_handle);
ccn_destroy (&tmp_handle);
+ boost::algorithm::trim(retval);
return Name(retval);
}