projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b84e809
)
[kdbus] More detailed description for ENOBUFS errno
author
Lukasz Skalski
<l.skalski@samsung.com>
Tue, 5 May 2015 11:48:01 +0000
(11:48 +0000)
committer
Maciej Wereski
<m.wereski@partner.samsung.com>
Fri, 10 Jul 2015 09:47:45 +0000
(11:47 +0200)
gio/gkdbus.c
patch
|
blob
|
history
diff --git
a/gio/gkdbus.c
b/gio/gkdbus.c
index
ea533e6
..
0bb5766
100644
(file)
--- a/
gio/gkdbus.c
+++ b/
gio/gkdbus.c
@@
-2662,6
+2662,11
@@
_g_kdbus_send (GKDBusWorker *kdbus,
g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_LIMITS_EXCEEDED,
"The memory pool of the receiver is full");
}
+ else if (errno == ENOBUFS)
+ {
+ g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_LIMITS_EXCEEDED,
+ "Too many pending messages on the receiver side");
+ }
else
{
g_error ("WTF? %d\n", errno);