On Wed, Aug 25, 2021 at 10:15 PM Sergey Ponomarev <[email protected]> wrote:
> Unlike xatou16() the bb_lookup_port() won't exit program if port parsing is 
> failed.
> But it may return a default_port instead. This is not safe because user 
> requested another port.
> Instead, we return 0 and caller may gracefully show a message or just pass it 
> further.

Let's just print the message and die. None of the callers want to continue
on such an error.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to