chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vala: convert from dbus-glib to gdbus
[elogind.git]
/
src
/
socket.c
diff --git
a/src/socket.c
b/src/socket.c
index 6ec49de4664375fa26697ff655e05a8bcc3cba57..3bb8862ca9bb39e1a939929f912803585ec2f8ba 100644
(file)
--- a/
src/socket.c
+++ b/
src/socket.c
@@
-41,6
+41,7
@@
#include "special.h"
#include "bus-errors.h"
#include "label.h"
#include "special.h"
#include "bus-errors.h"
#include "label.h"
+#include "exit-status.h"
static const UnitActiveState state_translation_table[_SOCKET_STATE_MAX] = {
[SOCKET_DEAD] = UNIT_INACTIVE,
static const UnitActiveState state_translation_table[_SOCKET_STATE_MAX] = {
[SOCKET_DEAD] = UNIT_INACTIVE,
@@
-880,7
+881,7
@@
static void socket_set_state(Socket *s, SocketState state) {
socket_state_to_string(old_state),
socket_state_to_string(state));
socket_state_to_string(old_state),
socket_state_to_string(state));
- unit_notify(UNIT(s), state_translation_table[old_state], state_translation_table[state]);
+ unit_notify(UNIT(s), state_translation_table[old_state], state_translation_table[state]
, true
);
}
static int socket_coldplug(Unit *u) {
}
static int socket_coldplug(Unit *u) {