mirror of
https://github.com/onyx-and-iris/vmrcli.git
synced 2025-01-18 08:41:08 +00:00
test rep value explicitly
This commit is contained in:
parent
45496452c5
commit
73b6a1d7b6
@ -38,7 +38,7 @@ int main(int argc, char *argv[])
|
||||
T_VBVMR_INTERFACE *vmr = &iVMR;
|
||||
|
||||
int rep = init_voicemeeter(vmr, kind);
|
||||
if (rep)
|
||||
if (rep != 0)
|
||||
{
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
@ -57,7 +57,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
rep = logout(vmr);
|
||||
if (!rep)
|
||||
if (rep == 0)
|
||||
{
|
||||
puts("Successfully logged out of Voicemeeter API");
|
||||
return EXIT_SUCCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user