mirror of
https://github.com/owntone/owntone-server.git
synced 2025-07-16 04:11:55 -04:00
Fix conversion to per-command lock & condition for FreeBSD
Leftover from commit 7f79ca570917230f5c0d1972f11391274b09bc0d
This commit is contained in:
parent
f1ab254b47
commit
86a90fe81f
@ -1641,8 +1641,8 @@ device_activate_cb(struct raop_device *dev, struct raop_session *rs, enum raop_s
|
|||||||
ts.tv_sec = pb_timer_last.tv_sec;
|
ts.tv_sec = pb_timer_last.tv_sec;
|
||||||
ts.tv_nsec = pb_timer_last.tv_nsec;
|
ts.tv_nsec = pb_timer_last.tv_nsec;
|
||||||
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||||
if (cmd.ret != -2)
|
if (cur_cmd->ret != -2)
|
||||||
cmd.ret = -1;
|
cur_cmd->ret = -1;
|
||||||
goto out;
|
goto out;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user