fixed uninitialized variable
This commit is contained in:
parent
a3c54207db
commit
0781fc4caf
@ -527,6 +527,7 @@ void *why2_communicate_thread(void *arg)
|
||||
why2_bool invalid_username = 1;
|
||||
why2_bool exiting = 0;
|
||||
char *decoded_buffer = NULL;
|
||||
char *decoded_code_buffer = NULL;
|
||||
char *username;
|
||||
int usernames_n = 0;
|
||||
struct json_object *json = json_tokener_parse("{}");
|
||||
@ -687,8 +688,6 @@ void *why2_communicate_thread(void *arg)
|
||||
why2_deallocate(username);
|
||||
why2_toml_read_free(server_username);
|
||||
|
||||
char *decoded_code_buffer = NULL;
|
||||
|
||||
while (!(exiting || force_exiting)) //KEEP COMMUNICATION ALIVE FOR 5 MINUTES [RESET TIMER AT MESSAGE SENT]
|
||||
{
|
||||
if ((raw = read_user(connection, &raw_ptr)) == NULL) break; //READ
|
||||
|
Loading…
x
Reference in New Issue
Block a user