diff options
Diffstat (limited to 'test/echo-client.c')
-rw-r--r-- | test/echo-client.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/echo-client.c b/test/echo-client.c index 47d7314d..de32957f 100644 --- a/test/echo-client.c +++ b/test/echo-client.c @@ -28,10 +28,10 @@ main (int argc, /* Send a message to get things going */ message = dbus_message_new ("org.freedesktop.DBus.Test", "org.freedesktop.DBus.Test"); - dbus_connection_send_message (connection, - message, - NULL, - NULL); + if (!dbus_connection_send (connection, + message, + NULL)) + fprintf (stderr, "No memory to send reply\n"); dbus_message_unref (message); do_mainloop (); |