From 8799c5c79d87c9d244b24604faf2ee86943b0be4 Mon Sep 17 00:00:00 2001 From: mccallum Date: Sat, 2 Nov 1996 20:39:47 +0000 Subject: [PATCH] ([Connection -forwardForProxy:selector:argFrame:]): Add an assertion that we processed all arguments and dismissed the ConnectedCoder. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1929 72102866-910b-0410-8b05-ffd578937521 --- Source/Connection.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Connection.m b/Source/Connection.m index db66e9617..d7205a277 100644 --- a/Source/Connection.m +++ b/Source/Connection.m @@ -630,6 +630,8 @@ static int messages_received_count; last_argnum = type_get_number_of_arguments(type) - 1; retframe = mframe_build_return (argframe, type, out_parameters, decoder); + /* Make sure we processed all arguments, and dismissed the IP. */ + assert (ip == (id)-1); return retframe; } }