checking version on chat client&server startup
This commit is contained in:
parent
54b4ebe3e6
commit
a5b6364c26
@ -85,6 +85,7 @@ int main(void)
|
||||
{
|
||||
signal(SIGINT, exit_client); //HANDLE ^C
|
||||
|
||||
why2_check_version(); //CHECK FOR UPDATES
|
||||
why2_chat_init_client_config(); //CREATE client.toml CONFIGURATION
|
||||
why2_chat_init_keys(); //CREATE RSA KEYS
|
||||
|
||||
|
@ -34,6 +34,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
int main(void)
|
||||
{
|
||||
why2_check_version(); //CHECK FOR UPDATES
|
||||
why2_chat_init_server_config(); //CREATE server.toml CONFIGURATION
|
||||
|
||||
int listen_socket = socket(AF_INET, SOCK_STREAM, 0); //CREATE SERVER SOCKET
|
||||
|
Loading…
x
Reference in New Issue
Block a user