From 788a67729e071d64e1d660adec3821e10c9448fd Mon Sep 17 00:00:00 2001 From: Michael Tuexen <tuexen@fh-muenster.de> Date: Fri, 13 Oct 2017 11:43:17 +0200 Subject: [PATCH] Fix a bug which resulted in wrong return code. --- gtests/net/packetdrill/sctp_chunk_to_string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtests/net/packetdrill/sctp_chunk_to_string.c b/gtests/net/packetdrill/sctp_chunk_to_string.c index 50835849..3ae8e2d1 100644 --- a/gtests/net/packetdrill/sctp_chunk_to_string.c +++ b/gtests/net/packetdrill/sctp_chunk_to_string.c @@ -1508,7 +1508,7 @@ static int sctp_error_chunk_to_string(FILE *s, fputc(']', s); if (*error != NULL) result = STATUS_ERR; - return STATUS_OK; + return result; } static int sctp_cookie_echo_chunk_to_string( -- GitLab