* Store the option error message, if any, so that we can log the * connection attempt (which requires parsing the options), and then * show the error later on. **/
| 891 | * show the error later on. |
| 892 | **/ |
| 893 | void option_error(void) |
| 894 | { |
| 895 | if (!err_buf[0]) { |
| 896 | strlcpy(err_buf, "Error parsing options: option may " |
| 897 | "be supported on client but not on server?\n", |
| 898 | sizeof err_buf); |
| 899 | } |
| 900 | |
| 901 | rprintf(FERROR, RSYNC_NAME ": %s", err_buf); |
| 902 | io_flush(MSG_FLUSH); |
| 903 | msleep(20); |
| 904 | } |
| 905 | |
| 906 | |
| 907 | static void parse_one_refuse_match(int negated, const char *ref, const struct poptOption *list_end) |
no test coverage detected