summaryrefslogtreecommitdiffstats
path: root/src/uri
diff options
context:
space:
mode:
Diffstat (limited to 'src/uri')
-rwxr-xr-xsrc/uri/uri_tcp_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uri/uri_tcp_test.c b/src/uri/uri_tcp_test.c
index ca053a2c..2e15d36c 100755
--- a/src/uri/uri_tcp_test.c
+++ b/src/uri/uri_tcp_test.c
@@ -192,7 +192,7 @@ vl_api_application_attach_reply_t_handler (vl_api_application_attach_reply_t *
if (mp->retval)
{
- uword *errp = hash_get (utm->error_string_by_error_number, mp->retval);
+ uword *errp = hash_get (utm->error_string_by_error_number, -mp->retval);
clib_warning ("attach failed: %s", *errp);
utm->state = STATE_FAILED;
return;