mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-07 13:36:35 +01:00
enforce const correctess, fix undefined behaviour with string literals
This commit is contained in:
@@ -27,6 +27,6 @@
|
||||
#define _dns_h
|
||||
|
||||
/* creates new thread for dns3 lookup. Only allows one lookup at a time. */
|
||||
void dns3_lookup(ToxWindow *self, Tox *m, char *id_bin, char *addr, char *msg);
|
||||
void dns3_lookup(ToxWindow *self, Tox *m, const char *id_bin, const char *addr, const char *msg);
|
||||
|
||||
#endif /* #define _dns_h */
|
||||
|
||||
Reference in New Issue
Block a user