mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2026-04-24 14:57:09 -05:00
hooklib: fix warning in adapter.c
This commit is contained in:
parent
5aa1e27a31
commit
61f3eb44d2
|
|
@ -124,7 +124,7 @@ void adapter_hook_override(const char *adapter_address)
|
|||
// but in case it gets called multiple times, set it anyways
|
||||
use_address_override = false;
|
||||
|
||||
if (adapter_address == NULL || *adapter_address == NULL) {
|
||||
if (adapter_address == NULL || *adapter_address == '\0') {
|
||||
// empty, do nothing
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user