mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-19 19:40:56 +00:00
Fix #2612 - struct mg_str::ptr -> buf
This commit is contained in:
1 parent
e93d18d200
commit
e0e599ffa1
61 files changed
+684
-686
No files matched your search
+1
-1
@@ -20,7 +20,7 @@
|
||||
|
||||
#define MG_PUTCHAR(x) printk("%c", x)
|
||||
#ifndef strdup
|
||||
#define strdup(s) ((char *) mg_strdup(mg_str(s)).ptr)
|
||||
#define strdup(s) ((char *) mg_strdup(mg_str(s)).buf)
|
||||
#endif
|
||||
#define strerror(x) zsock_gai_strerror(x)
|
||||
|
||||
|
||||
Reference in new issue
Block a user