aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-echo.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-07-28 16:12:05 +0200
committerMattias Andrée <maandree@operamail.com>2014-07-28 16:12:05 +0200
commit983ae9f1034ca2308bf3b4b99915262eb89d45cc (patch)
tree6e0c50331cf4f2004473a81e17510a54a7611839 /src/mds-echo.c
parentm (diff)
downloadmds-983ae9f1034ca2308bf3b4b99915262eb89d45cc.tar.gz
mds-983ae9f1034ca2308bf3b4b99915262eb89d45cc.tar.bz2
mds-983ae9f1034ca2308bf3b4b99915262eb89d45cc.tar.xz
m + marshal and unmarshal registry table
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-echo.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mds-echo.c b/src/mds-echo.c
index 4295816..82acc34 100644
--- a/src/mds-echo.c
+++ b/src/mds-echo.c
@@ -184,7 +184,10 @@ int unmarshal_server(char* state_buf)
buf_get_next(state_buf, int32_t, message_id);
r = mds_message_unmarshal(&received, state_buf);
if (r)
- mds_message_destroy(&received);
+ {
+ perror(*argv);
+ mds_message_destroy(&received);
+ }
return r;
}