mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
lib: Add a pair of {}
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
313d207d72
commit
3353174d1a
@ -99,9 +99,9 @@ static void add_interface(TALLOC_CTX *mem_ctx, const struct iface_struct *ifs, s
|
||||
}
|
||||
|
||||
iface = talloc(mem_ctx, struct interface);
|
||||
if (iface == NULL)
|
||||
if (iface == NULL) {
|
||||
return;
|
||||
|
||||
}
|
||||
ZERO_STRUCTPN(iface);
|
||||
|
||||
iface->name = talloc_strdup(iface, ifs->name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user