* sparc64-tdep.h (sparc64_regnum): Fix comment.
[deliverable/binutils-gdb.git] / gdb / ser-tcp.c
index cef62699ae082972801269dea2e6af765fd18cf7..a9a87143cb37b7d8dcbde8750991033ca5893757 100644 (file)
@@ -38,7 +38,6 @@
 #include <netdb.h>
 #include <sys/socket.h>
 #include <netinet/tcp.h>
-#include <netinet/udp.h>
 
 #include <signal.h>
 #include "gdb_string.h"
@@ -209,7 +208,7 @@ void
 _initialize_ser_tcp (void)
 {
   struct serial_ops *ops = XMALLOC (struct serial_ops);
-  memset (ops, sizeof (struct serial_ops), 0);
+  memset (ops, 0, sizeof (struct serial_ops));
   ops->name = "tcp";
   ops->next = 0;
   ops->open = net_open;
This page took 0.044852 seconds and 4 git commands to generate.