parse_offer_params() was being run unconditionally by check_dcc_init() even if it didn't find a custom init_func() to call, which is the usual case. It then gets called again by the hardwired DCC init function, which led to the error message appearing twice. This has check_dcc_init() only call parse_offer_params() when its about to dispatch to a custom init func. This also improves the message a bit (making it [host:port] rather than the other way around) and combines the 'privileged port' message and "zero address" message together.
223 KiB
223 KiB