Difference for main/ip_base.cpp from version 1.1 to 1.2


version 1.1 version 1.2
Line 357
 
Line 357
 #ifdef UDPDEBUG  #ifdef UDPDEBUG
  printf("ip_receive_cfg: %i %i ",buf[0],buf[1]);   printf("ip_receive_cfg: %i %i ",buf[0],buf[1]);
  dumprid(buf+2);   dumprid(buf+2);
  printf(" v%i tryid%u\n",ntohs(*(unsigned short*)(buf+8)),ntohl(*(u_int32_t*)(buf+10)));          printf(" v%i tryid%u\n",ntohs(*(unsigned short*)(buf+8)),(unsigned int)ntohl(*(u_int32_t*)(buf+10)));
 #endif  #endif
   
  }break;   }break;
Line 365
 
Line 365
 #ifdef UDPDEBUG  #ifdef UDPDEBUG
  printf("ip_receive_cfg: %i %i ",buf[0],buf[1]);   printf("ip_receive_cfg: %i %i ",buf[0],buf[1]);
  dumprid(buf+2);   dumprid(buf+2);
  printf(" v%i tryid%u\n",ntohs(*(unsigned short*)(buf+8)),ntohl(*(u_int32_t*)(buf+10)));          printf(" v%i tryid%u\n",ntohs(*(unsigned short*)(buf+8)),(unsigned int)ntohl(*(u_int32_t*)(buf+10)));
 #endif  #endif
  {   {
  ip_handshake_info *hsi=new ip_handshake_info(buf);   ip_handshake_info *hsi=new ip_handshake_info(buf);
Line 510
 
Line 510
  dumprid(ipx_MyAddress+4);   dumprid(ipx_MyAddress+4);
  putchar('\n');   putchar('\n');
 #endif  #endif
   
  return 0;   return 0;
 }  }
 /* Parse PORTSHIFT numeric parameter  /* Parse PORTSHIFT numeric parameter

Legend:
line(s) removed in v.1.1 
line(s) changed
 line(s) added in v.1.2