Browse Source

Fix warnings

git-svn-id: https://bucket.mit.edu/svn/nilm/acquisition/ethstream@8320 ddd99763-3ecb-0310-9145-efcb8ce7c51f
tags/ethstream-1.3
jim 11 years ago
parent
commit
b0be6473b8
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      nerdjack.c
  2. +1
    -1
      netutil.h

+ 1
- 1
nerdjack.c View File

@@ -243,7 +243,7 @@ int nerdjack_detect(char *ipAddress)
int buffer_length;
char buffer[200];
char incomingData[10];
unsigned int lFromLen;
socklen_t lFromLen;

sprintf(buffer, "TEST");
buffer_length = strlen(buffer) + 1;


+ 1
- 1
netutil.h View File

@@ -8,7 +8,7 @@
#ifdef __WIN32__
# include <winsock2.h>
# include <ws2tcpip.h>
# define socklen_t unsigned int
# define socklen_t int
# define in_addr_t uint32_t
# define in_port_t uint16_t
# include <windows.h>


Loading…
Cancel
Save