mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
fix error looking up protcol
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29845 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e947396a6e
commit
45568ac01f
1 changed files with 1 additions and 1 deletions
|
@ -1026,7 +1026,7 @@ objc_getProtocol(const char *name)
|
|||
struct objc_protocol_list *pcllist = cls->protocols;
|
||||
size_t i;
|
||||
|
||||
while (pcllist != NULL)
|
||||
while (p == NULL && pcllist != NULL)
|
||||
{
|
||||
for (i = 0; i < pcllist->count; i++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue