diff options
Diffstat (limited to 'dbus-proxy/xdg-app-proxy.c')
-rw-r--r-- | dbus-proxy/xdg-app-proxy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dbus-proxy/xdg-app-proxy.c b/dbus-proxy/xdg-app-proxy.c index 875b3fd..f4c0d8b 100644 --- a/dbus-proxy/xdg-app-proxy.c +++ b/dbus-proxy/xdg-app-proxy.c @@ -618,13 +618,14 @@ buffer_read (ProxySide *side, } else { + int flags; v.buffer = &buffer->data[buffer->pos]; v.size = buffer->size - buffer->pos; res = g_socket_receive_message (socket, NULL, &v, 1, &messages, &num_messages, - G_SOCKET_MSG_NONE, NULL, &error); + &flags, NULL, &error); if (res < 0 && g_error_matches (error, G_IO_ERROR, G_IO_ERROR_WOULD_BLOCK)) { g_error_free (error); |