summaryrefslogtreecommitdiffstats
path: root/sord
diff options
context:
space:
mode:
Diffstat (limited to 'sord')
-rw-r--r--sord/sordmm.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp
index dc80cb3..8977dc1 100644
--- a/sord/sordmm.hpp
+++ b/sord/sordmm.hpp
@@ -95,7 +95,7 @@ public:
SerdNode curie_node = string_to_node(SERD_CURIE, curie);
SerdChunk uri_prefix;
SerdChunk uri_suffix;
- if (serd_env_expand(_c_obj, &curie_node, &uri_prefix, &uri_suffix)) {
+ if (!serd_env_expand(_c_obj, &curie_node, &uri_prefix, &uri_suffix)) {
std::string ret((const char*)uri_prefix.buf, uri_prefix.len);
ret.append((const char*)uri_suffix.buf, uri_suffix.len);
return ret;