summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-socket.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-12 19:58:46 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-12 20:00:45 +0100
commit0f437184b687af58c5c4b2e3201a83d98485b0e4 (patch)
tree308a6b393307a15dc6b73b64d84658c39c9d4c7f /src/libsystemd-bus/bus-socket.c
parent9ff09bcb86fb125768667aca9bc0b10b1745370a (diff)
bus: enforce endianess and marshalling for messages we send
Diffstat (limited to 'src/libsystemd-bus/bus-socket.c')
-rw-r--r--src/libsystemd-bus/bus-socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-socket.c b/src/libsystemd-bus/bus-socket.c
index a449ce0eb3..1365092d73 100644
--- a/src/libsystemd-bus/bus-socket.c
+++ b/src/libsystemd-bus/bus-socket.c
@@ -625,6 +625,7 @@ int bus_socket_setup(sd_bus *b) {
b->is_kernel = false;
b->message_version = 1;
+ b->message_endian = 0;
return 0;
}