strtoul(nptr, endptr, ...) will set *endptr to nptr in the case of where no digits were read from the string, and return 0. Running with RDP_FD=foo would thus result in fd=0 being specified to freerdp_peer_new(), which is unlikely to be the user's intent. Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>dev
parent
9c09fe70c7
commit
bac72b29f8
Loading…
Reference in new issue