Applied. Thanks!
On Wed, Nov 19, 2014 at 1:57 PM, Thomas Haller <thal...@redhat.com> wrote: > --- > src/libsystemd-network/sd-dhcp-lease.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/libsystemd-network/sd-dhcp-lease.c > b/src/libsystemd-network/sd-dhcp-lease.c > index f046ac5..3da71a2 100644 > --- a/src/libsystemd-network/sd-dhcp-lease.c > +++ b/src/libsystemd-network/sd-dhcp-lease.c > @@ -51,7 +51,7 @@ int sd_dhcp_lease_get_address(sd_dhcp_lease *lease, struct > in_addr *addr) { > > int sd_dhcp_lease_get_lifetime(sd_dhcp_lease *lease, uint32_t *lifetime) { > assert_return(lease, -EINVAL); > - assert_return(lease, -EINVAL); > + assert_return(lifetime, -EINVAL); > > *lifetime = lease->lifetime; > > -- > 1.9.3 > > _______________________________________________ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/systemd-devel _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel