]> granicus.if.org Git - strace/commit
print_inet_addr: add support of invocations without field name
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 20 Aug 2017 11:10:03 +0000 (11:10 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 20 Aug 2017 11:10:03 +0000 (11:10 +0000)
commitb3cbf90920e5fe97712cea61c851c00dddd056c7
tree9ec38489b322e9c1fc3c469f50e8e509f1d44101
parent6a54605010bc33dbab12d0a44e3eebc6bba5d531
print_inet_addr: add support of invocations without field name

Prepare print_inet_addr for use in structureless contexts where
no structure field name is available.

* sockaddr.c (print_inet_addr): Handle var_name == NULL.
sockaddr.c