diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2014-12-10 16:17:31 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-12-10 18:31:21 +0100 |
commit | fab15fec2413bbc15dc7c24724ec82e371c966ba (patch) | |
tree | 441b2341171d02e9cab934cb27d2340a2db73b9d /src/login/logind.h | |
parent | c47e8936a43ce546e8a74fa569e9fbfae6c64be7 (diff) |
sd-dhcp6-lease: Return only -EINVAL when a NULL lease is supplied
Suppyling a NULL lease is not a condition that needs to be asserted,
returning -EINVAL is informative enough to the caller. This simplifies
calling code and doesn't falsely indicate that something erroneous was
attempted.
Diffstat (limited to 'src/login/logind.h')
0 files changed, 0 insertions, 0 deletions