implemented why2_chat_init_client_config

meow
This commit is contained in:
Václav Šmejkal 2023-08-26 18:43:08 +02:00
parent bc77ccd04f
commit 902872d25c
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -25,6 +25,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
#include <pthread.h> #include <pthread.h>
#include <why2/chat/config.h>
#include <why2/chat/flags.h> #include <why2/chat/flags.h>
#include <why2/chat/misc.h> #include <why2/chat/misc.h>
@ -32,6 +33,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
int main(void) int main(void)
{ {
why2_chat_init_client_config();
int listen_socket = socket(AF_INET, SOCK_STREAM, 0); //CREATE SERVER SOCKET int listen_socket = socket(AF_INET, SOCK_STREAM, 0); //CREATE SERVER SOCKET
char *line = NULL; char *line = NULL;
size_t line_length = 0; size_t line_length = 0;