diff --git a/net_adapter_winxp.c b/net_adapter_winxp.c index ba7bcdf..b65e0f7 100644 --- a/net_adapter_winxp.c +++ b/net_adapter_winxp.c @@ -122,7 +122,7 @@ bool net_adapter_enum(void *user_data, net_adapter_cb callback) { break; } - if (callback(user_data, &adapter)) + if (!callback(user_data, &adapter)) break; }