mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-03 06:16:45 +02:00
Fix a few issues
- realloc needs to be error checked - use correct format specifiers - make sure optarg and DATA_FILE aren't null before using them
This commit is contained in:
@ -407,7 +407,7 @@ static void friendlist_onConnectionChange(ToxWindow *self, Tox *m, uint32_t num,
|
||||
++Friends.num_online;
|
||||
|
||||
if (avatar_send(m, num) == -1) {
|
||||
fprintf(stderr, "avatar_send failed for friend %d\n", num);
|
||||
fprintf(stderr, "avatar_send failed for friend %u\n", num);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user