summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/lldp-neighbor.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-06-02 17:48:05 +0200
committerLennart Poettering <lennart@poettering.net>2016-06-06 19:59:08 +0200
commita2966471d815a965e2f4b86cdad30c8086c1ec6d (patch)
treead9a637be3c17a7cc53787d31fcafbcbbab58674 /src/libsystemd-network/lldp-neighbor.c
parent09155f682a66eaf1f1e7cb0859a5bc0e2c5a39cf (diff)
lldp: use NULL instead 0, when we deal with a pointer
Diffstat (limited to 'src/libsystemd-network/lldp-neighbor.c')
-rw-r--r--src/libsystemd-network/lldp-neighbor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/lldp-neighbor.c b/src/libsystemd-network/lldp-neighbor.c
index a4af303259..5811e0f2e8 100644
--- a/src/libsystemd-network/lldp-neighbor.c
+++ b/src/libsystemd-network/lldp-neighbor.c
@@ -675,7 +675,7 @@ _public_ int sd_lldp_neighbor_from_raw(sd_lldp_neighbor **ret, const void *raw,
return r;
*ret = n;
- n = 0;
+ n = NULL;
return r;
}