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(p->gc)
print("Fsprotoclone: garbage collecting Convs\n");
if(p->gc != nil && (*p->gc)(p))
goto retry;
if(p->gc != nil){
print("Fsprotoclone: garbage collecting %s Convs\n", p->name);
if((*p->gc)(p))
goto retry;
}
return nil;
}