"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "file.c" between
tmux-3.2.tar.gz and tmux-3.2a.tar.gz

About: tmux is a terminal multiplexer that lets you switch easily between several programs in one terminal.

file.c  (tmux-3.2):file.c  (tmux-3.2a)
skipping to change at line 506 skipping to change at line 506
/* Client file write error callback. */ /* Client file write error callback. */
static void static void
file_write_error_callback(__unused struct bufferevent *bev, __unused short what, file_write_error_callback(__unused struct bufferevent *bev, __unused short what,
void *arg) void *arg)
{ {
struct client_file *cf = arg; struct client_file *cf = arg;
log_debug("write error file %d", cf->stream); log_debug("write error file %d", cf->stream);
if (cf->cb != NULL)
cf->cb(NULL, NULL, 0, -1, NULL, cf->data);
bufferevent_free(cf->event); bufferevent_free(cf->event);
cf->event = NULL; cf->event = NULL;
close(cf->fd); close(cf->fd);
cf->fd = -1; cf->fd = -1;
if (cf->cb != NULL)
cf->cb(NULL, NULL, 0, -1, NULL, cf->data);
} }
/* Client file write callback. */ /* Client file write callback. */
static void static void
file_write_callback(__unused struct bufferevent *bev, void *arg) file_write_callback(__unused struct bufferevent *bev, void *arg)
{ {
struct client_file *cf = arg; struct client_file *cf = arg;
log_debug("write check file %d", cf->stream); log_debug("write check file %d", cf->stream);
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)