aboutsummaryrefslogtreecommitdiff
path: root/dpid/dpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'dpid/dpid.c')
-rw-r--r--dpid/dpid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpid/dpid.c b/dpid/dpid.c
index 45324730..8d325694 100644
--- a/dpid/dpid.c
+++ b/dpid/dpid.c
@@ -859,7 +859,7 @@ char *get_message(int sock, char *dpi_tag)
{
char *msg, *d_cmd;
- msg = a_Dpip_get_attr(dpi_tag, strlen(dpi_tag), "msg");
+ msg = a_Dpip_get_attr(dpi_tag, "msg");
if (msg == NULL) {
ERRMSG("get_message", "failed to parse msg", 0);
d_cmd = a_Dpip_build_cmd("cmd=%s msg=%s",