Split size in regset section iterators
[deliverable/binutils-gdb.git] / gdb / ser-tcp.c
index 618d2d931ac6347a82d498735d65e5e18a8f6d03..bdfd55663b6569204499937aa0e041f3e3fb450f 100644 (file)
@@ -371,7 +371,7 @@ net_open (struct serial *scb, const char *name)
 
   ioctl (scb->fd, FIONBIO, &ioarg);
 
-  if (success_ainfo->ai_socktype == IPPROTO_TCP)
+  if (success_ainfo->ai_protocol == IPPROTO_TCP)
     {
       /* Disable Nagle algorithm.  Needed in some cases.  */
       int tmp = 1;
This page took 0.024137 seconds and 4 git commands to generate.