projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Trust router: open TRP connection to self, send multiple msgs.
[trust_router.git]
/
trp
/
trps.c
diff --git
a/trp/trps.c
b/trp/trps.c
index
b4b7b4f
..
f1175e6
100644
(file)
--- a/
trp/trps.c
+++ b/
trp/trps.c
@@
-179,7
+179,10
@@
static TRP_RC trps_read_message(TRPS_INSTANCE *trps, TRP_CONNECTION *conn, TR_MS
*msg=tr_msg_decode(buf, buflen);
free(buf);
- return TRP_SUCCESS;
+ if (*msg==NULL)
+ return TRP_NOPARSE;
+ else
+ return TRP_SUCCESS;
}
int trps_get_listener(TRPS_INSTANCE *trps,