devip: print protocol name in garbage collection notification

This commit is contained in:
cinap_lenrek 2014-09-21 18:02:53 +02:00
parent 47e52123d0
commit c145a2c0aa

View file

@ -1321,10 +1321,11 @@ retry:
} }
} }
if(pp >= ep) { if(pp >= ep) {
if(p->gc) if(p->gc != nil){
print("Fsprotoclone: garbage collecting Convs\n"); print("Fsprotoclone: garbage collecting %s Convs\n", p->name);
if(p->gc != nil && (*p->gc)(p)) if((*p->gc)(p))
goto retry; goto retry;
}
return nil; return nil;
} }