more fix for gcc8
This commit is contained in:
parent
03506c65b5
commit
cc2c780bcf
@ -175,3 +175,15 @@ diff -up libvma-8.0.1/src/vma/sock/sockinfo.cpp.me libvma-8.0.1/src/vma/sock/soc
|
|||||||
m_p_socket_stats->inode = fd2inode(m_fd);
|
m_p_socket_stats->inode = fd2inode(m_fd);
|
||||||
m_p_socket_stats->b_blocking = m_b_blocking;
|
m_p_socket_stats->b_blocking = m_b_blocking;
|
||||||
diff -up libvma-8.0.1/src/vma/util/sys_vars.h.me libvma-8.0.1/src/vma/util/sys_vars.h
|
diff -up libvma-8.0.1/src/vma/util/sys_vars.h.me libvma-8.0.1/src/vma/util/sys_vars.h
|
||||||
|
diff -up libvma-8.0.1/src/vma/util/sock_addr.h.me libvma-8.0.1/src/vma/util/sock_addr.h
|
||||||
|
--- libvma-8.0.1/src/vma/util/sock_addr.h.me 2018-02-07 04:14:27.942612450 -0500
|
||||||
|
+++ libvma-8.0.1/src/vma/util/sock_addr.h 2018-02-07 04:25:37.714699564 -0500
|
||||||
|
@@ -157,7 +157,7 @@ private:
|
||||||
|
struct sockaddr_in* m_p_sa_in;
|
||||||
|
|
||||||
|
char m_str_in_addr[16];
|
||||||
|
- char m_str_in_port[6];
|
||||||
|
+ char m_str_in_port[11];
|
||||||
|
char m_str[22];
|
||||||
|
|
||||||
|
void set_str_in_addr() { sprintf(m_str_in_addr, "%d.%d.%d.%d", NIPQUAD(get_in_addr())); set_str(); }
|
||||||
|
Loading…
Reference in New Issue
Block a user