diff options
Diffstat (limited to 'src/dbusbind.c')
| -rw-r--r-- | src/dbusbind.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/dbusbind.c b/src/dbusbind.c index 14c1621e0ee..52e08d8ee2a 100644 --- a/src/dbusbind.c +++ b/src/dbusbind.c | |||
| @@ -2071,13 +2071,7 @@ usage: (dbus-register-signal BUS SERVICE PATH INTERFACE SIGNAL HANDLER &rest ARG | |||
| 2071 | && (SBYTES (service) > 0) | 2071 | && (SBYTES (service) > 0) |
| 2072 | && (strcmp (SSDATA (service), DBUS_SERVICE_DBUS) != 0) | 2072 | && (strcmp (SSDATA (service), DBUS_SERVICE_DBUS) != 0) |
| 2073 | && (strncmp (SSDATA (service), ":", 1) != 0)) | 2073 | && (strncmp (SSDATA (service), ":", 1) != 0)) |
| 2074 | { | 2074 | uname = call2 (intern ("dbus-get-name-owner"), bus, service); |
| 2075 | uname = call2 (intern ("dbus-get-name-owner"), bus, service); | ||
| 2076 | /* When there is no unique name, we mark it with an empty | ||
| 2077 | string. */ | ||
| 2078 | if (NILP (uname)) | ||
| 2079 | uname = empty_unibyte_string; | ||
| 2080 | } | ||
| 2081 | else | 2075 | else |
| 2082 | uname = service; | 2076 | uname = service; |
| 2083 | 2077 | ||