summaryrefslogtreecommitdiff
path: root/src/ndisc
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-08-09 16:41:28 +0200
committerThomas Haller <thaller@redhat.com>2018-08-09 17:06:18 +0200
commit852abf3d3d37e2a21623b575b89cc005d68ee2e8 (patch)
tree2c4f67553a0f2daa2837d62dc258e66d0d31a90d /src/ndisc
parent8d1c256290f5d82803d064849d3777ca8714fb2a (diff)
downloadNetworkManager-852abf3d3d37e2a21623b575b89cc005d68ee2e8.tar.gz
all/style: write elvis operator ?: without space
By far most of the time, we write "?:" and not "? :". Adjust the few places that don't.
Diffstat (limited to 'src/ndisc')
-rw-r--r--src/ndisc/nm-ndisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ndisc/nm-ndisc.c b/src/ndisc/nm-ndisc.c
index 04f8631298..879eec67fe 100644
--- a/src/ndisc/nm-ndisc.c
+++ b/src/ndisc/nm-ndisc.c
@@ -1192,7 +1192,7 @@ set_property (GObject *object, guint prop_id,
switch (prop_id) {
case PROP_PLATFORM:
/* construct-only */
- priv->platform = g_value_get_object (value) ? : NM_PLATFORM_GET;
+ priv->platform = g_value_get_object (value) ?: NM_PLATFORM_GET;
if (!priv->platform)
g_return_if_reached ();