projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
501c7d0
)
dbus: properly encode job type
author
Lennart Poettering
<lennart@poettering.net>
Wed, 3 Feb 2010 11:39:44 +0000
(12:39 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 3 Feb 2010 11:40:09 +0000
(12:40 +0100)
dbus-manager.c
patch
|
blob
|
history
diff --git
a/dbus-manager.c
b/dbus-manager.c
index
3ccf8de
..
32d0745
100644
(file)
--- a/
dbus-manager.c
+++ b/
dbus-manager.c
@@
-180,7
+180,7
@@
DBusHandlerResult bus_manager_message_handler(DBusConnection *connection, DBusM
goto oom;
}
- job_type = job_type_to_string(u->meta.job->
stat
e);
+ job_type = job_type_to_string(u->meta.job->
typ
e);
} else {
job_id = 0;
job_path = unit_path;
@@
-237,7
+237,7
@@
DBusHandlerResult bus_manager_message_handler(DBusConnection *connection, DBusM
id = (uint32_t) j->id;
unit = unit_id(j->unit);
state = job_state_to_string(j->state);
- type = job_type_to_string(j->
stat
e);
+ type = job_type_to_string(j->
typ
e);
if (!(job_path = job_dbus_path(j)))
goto oom;