tools: gst-indent: different results according to GNU indent version
I file this issue for a record. It may be a regression or bug fixing of GNU indent.
With GNU indent 2.2.11, the following code block is okay.
if (srt_epoll_add_usock (srtobject->listener_poll_id, sock, &(int) {
SRT_EPOLL_ERR | SRT_EPOLL_IN})) {
g_set_error (error, GST_LIBRARY_ERROR, GST_LIBRARY_ERROR_SETTINGS, "%s",
srt_getlasterror_str ());
goto failed;
}
However, with GNU indent 2.2.12, it generates different result like this.
if (srt_epoll_add_usock (srtobject->listener_poll_id, sock, &(int) {
SRT_EPOLL_ERR | SRT_EPOLL_IN
})) {
g_set_error (error, GST_LIBRARY_ERROR, GST_LIBRARY_ERROR_SETTINGS, "%s",
srt_getlasterror_str ());
goto failed;
}