| 2760 | } |
| 2761 | |
| 2762 | static int updateTLSPortThread(long long val, bool fFirstCall, const char **err) |
| 2763 | { |
| 2764 | if (changeListenPort(val, &serverTL->tlsfd, acceptTLSHandler, fFirstCall) == C_ERR) { |
| 2765 | *err = "Unable to listen on this port. Check server logs."; |
| 2766 | return 0; |
| 2767 | } |
| 2768 | |
| 2769 | return 1; |
| 2770 | } |
| 2771 | |
| 2772 | static int updateTLSPort(long long val, long long prev, const char **err) { |
| 2773 | /* Do nothing if port is unchanged */ |
no test coverage detected