Cedar/Proto.c: fix crash in ProtoHandleConnection()

The bug was introduced in 8685fe0da1.
This commit is contained in:
sl077 authored and Davide Beatrici committed 2020-12-09 01:17:59 +01:00
1 parent f03e83369e
commit 5611156ca8
1 file changed
+1 -1
+1 -1
View File
@@ -510,7 +510,7 @@ bool ProtoHandleConnection(PROTO *proto, SOCK *sock, const char *protocol)
const PROTO_CONTAINER *tmp = LIST_DATA(proto->Containers, i);
if (StrCmp(tmp->Name, protocol) == 0)
{
impl = container->Impl;
container = tmp;
break;
}
}