Update copyright dates
[src/app-framework-binder.git] / src / afb-monitor.c
index a53f75a..40a6d3b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016-2019 "IoT.bzh"
+ * Copyright (C) 2015-2020 "IoT.bzh"
  * Author José Bollo <jose.bollo@iot.bzh>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -31,6 +31,7 @@
 #include "afb-xreq.h"
 #include "afb-trace.h"
 #include "afb-session.h"
+#include "afb-error-text.h"
 #include "verbose.h"
 #include "wrap-json.h"
 
@@ -449,7 +450,7 @@ end:
 #else
 static void f_trace(afb_req_t req)
 {
-       afb_req_reply(req, NULL, "not-available", NULL);
+       afb_req_reply(req, NULL, afb_error_text_not_available, NULL);
 }
 #endif