sockread: cleanup code and allow arguments
authorMoritz Warning <moritzwarning@web.de>
Mon, 20 Nov 2023 19:37:36 +0000 (20:37 +0100)
committerTianling Shen <cnsztl@gmail.com>
Wed, 22 Nov 2023 14:39:17 +0000 (22:39 +0800)
commit67ff89f267468ac7b3cad54fc38747d27321465b
tree818ff3a30349f950362b07e15c3e87549e4fb3da
parent11279e54eda923782b587cf0a55e30e174ad283f
sockread: cleanup code and allow arguments

* cleanup code style
* allow arguments to be passed from the command line

Signed-off-by: Moritz Warning <moritzwarning@web.de>
utils/sockread/Makefile
utils/sockread/src/main.c