mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-24 12:11:33 +00:00
D'oh
This commit is contained in:
parent
0898b0b3b1
commit
31f1bf4426
@ -38,9 +38,9 @@
|
||||
* interface into a null interface.
|
||||
*/
|
||||
void plug ( struct interface *intf, struct interface *dest ) {
|
||||
ref_put ( intf->refcnt );
|
||||
ref_get ( dest->refcnt );
|
||||
ref_put ( intf->dest->refcnt );
|
||||
intf->dest = dest;
|
||||
ref_get ( intf->dest->refcnt );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user