Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.c')
-rw-r--r--examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.c b/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.c
index 47d997736..c98ba7318 100644
--- a/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.c
+++ b/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.c
@@ -44,6 +44,8 @@ static void command_get_time_of_day(char * token, Channel * c) {
write_stringz(&c->out, "R");
// Send back the command token
write_stringz(&c->out, token);
+ // Send error report, for now always "no error"
+ write_errno(&c->out, 0);
// Send reply data
json_write_string(&c->out, res);
// JSON encoded data should end with zero byte

Back to the top