]> granicus.if.org Git - strace/commit
socketutils: pass 0 to dyxlat_alloc
authorEugene Syromyatnikov <evgsyr@gmail.com>
Fri, 19 Oct 2018 23:55:37 +0000 (01:55 +0200)
committerEugene Syromyatnikov <evgsyr@gmail.com>
Fri, 19 Oct 2018 23:55:37 +0000 (01:55 +0200)
commited3e7e751dcf53f3b7a36d972d1ceda54769c25f
tree0f3b64daae0eb0eae72b3716fab636cb7167c78e
parentda97767c05352d691b674456c4860ae9a5be3a97
socketutils: pass 0 to dyxlat_alloc

As it is backed by xgrowarray that has a heuristic for the case
*nmemb == 0, we don't have to pass a hard-coded initial size anymore.

* socketutils.c (genl_get_family_name): Pass 0 to dyxlat_alloc.
socketutils.c