summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--runtime/msg.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index af078813..322fc366 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,7 +33,7 @@ PKG_PROG_PKG_CONFIG
# modules we require
PKG_CHECK_MODULES(LIBESTR, libestr >= 0.1.2)
-PKG_CHECK_MODULES(LIBEE, libee >= 0.4.0)
+PKG_CHECK_MODULES(LIBEE, libee >= 0.4.2)
case "${host}" in
*-*-linux*)
diff --git a/runtime/msg.c b/runtime/msg.c
index 92de1b9d..541409e4 100644
--- a/runtime/msg.c
+++ b/runtime/msg.c
@@ -3151,7 +3151,7 @@ msgGetCEEVarNew(msg_t *pMsg, char *name)
epropName = es_newStrFromCStr(name, strlen(name)); // TODO: optimize (in grammar!)
field = ee_getEventField(pMsg->event, epropName);
if(field != NULL) {
- estr = ee_getFieldValueAsStr(field, 0);
+ ee_getFieldAsString(field, &estr);
}
if(estr == NULL) {
DBGPRINTF("msgGetCEEVar: error obtaining var (field=%p, var='%s')\n",