diff options
author | Thomas Adam <thomas@xteddy.org> | 2021-08-22 16:01:19 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2021-08-22 16:01:19 +0100 |
commit | 03054598df77da74499babd4d4cd2f3575c81d22 (patch) | |
tree | 164807efa71b88c0dd85360503a763fa3cb50afa /file.c | |
parent | 324f87cf142fb1b7ed8cd738316bdb3f6fa7c1df (diff) | |
parent | 72d905f32c53ea1304b4b3206383502a23cfc0fd (diff) | |
download | rtmux-03054598df77da74499babd4d4cd2f3575c81d22.tar.gz rtmux-03054598df77da74499babd4d4cd2f3575c81d22.tar.bz2 rtmux-03054598df77da74499babd4d4cd2f3575c81d22.zip |
Merge branch 'obsd-master' into master
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -555,7 +555,7 @@ file_write_open(struct client_files *files, struct tmuxpeer *peer, log_debug("open write file %d %s", msg->stream, path); find.stream = msg->stream; - if ((cf = RB_FIND(client_files, files, &find)) != NULL) { + if (RB_FIND(client_files, files, &find) != NULL) { error = EBADF; goto reply; } @@ -714,7 +714,7 @@ file_read_open(struct client_files *files, struct tmuxpeer *peer, log_debug("open read file %d %s", msg->stream, path); find.stream = msg->stream; - if ((cf = RB_FIND(client_files, files, &find)) != NULL) { + if (RB_FIND(client_files, files, &find) != NULL) { error = EBADF; goto reply; } |