summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-12-16 12:50:05 +0100
committerThomas Haller <thaller@redhat.com>2016-12-20 15:53:41 +0100
commit3b95cf68e2c128e91a9556b10bc5f2af8895c3f5 (patch)
treec7738103bd42cbd599568ccae0568aaa1c6a5eff
parenta7945ef765ff1bbe71f2d294a12a09cb358a8de9 (diff)
downloadNetworkManager-3b95cf68e2c128e91a9556b10bc5f2af8895c3f5.tar.gz
act-request: use NULL return value instead of "0"
-rw-r--r--src/nm-act-request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-act-request.c b/src/nm-act-request.c
index b746e45baf..b68b32fce9 100644
--- a/src/nm-act-request.c
+++ b/src/nm-act-request.c
@@ -180,7 +180,7 @@ nm_act_request_get_secrets (NMActRequest *self,
NMConnection *applied_connection;
const char *hints[2] = { hint, NULL };
- g_return_val_if_fail (NM_IS_ACT_REQUEST (self), 0);
+ g_return_val_if_fail (NM_IS_ACT_REQUEST (self), NULL);
priv = NM_ACT_REQUEST_GET_PRIVATE (self);