Browse Source

Code style unification across file

pull/1892/head
Vort 2 years ago committed by R4SAS
parent
commit
34617bcb44
  1. 3
      libi2pd/util.cpp

3
libi2pd/util.cpp

@ -75,7 +75,8 @@ const char *inet_ntop_xp(int af, const void *src, char *dst, socklen_t size)
ZeroMemory(&ss, sizeof(ss)); ZeroMemory(&ss, sizeof(ss));
ss.ss_family = af; ss.ss_family = af;
switch(af) { switch (af)
{
case AF_INET: case AF_INET:
((struct sockaddr_in *)&ss)->sin_addr = *(struct in_addr *)src; ((struct sockaddr_in *)&ss)->sin_addr = *(struct in_addr *)src;
break; break;

Loading…
Cancel
Save