]> git.ipfire.org Git - thirdparty/opentracker.git/commitdiff
shutdown was unnecessary
authorerdgeist <>
Sat, 6 Jan 2007 23:36:20 +0000 (23:36 +0000)
committererdgeist <>
Sat, 6 Jan 2007 23:36:20 +0000 (23:36 +0000)
opentracker.c

index 124bedcffeb8457a437c4a15cb2b25b9dfce4957..ab3eace5e670aa90e7f1dc7269df3d48d993190f 100644 (file)
@@ -315,7 +315,6 @@ e404:
 
 bailout:
     io_dontwantread(s);
-    shutdown(s, SHUT_RD );
     io_wantwrite(s);
 
     reply_size=iob_send(s,&h->iob);
@@ -327,7 +326,6 @@ bailout:
         array_reset(&h->r);
         iob_reset(&h->iob);
         free(h);
-        shutdown(s, SHUT_RDWR);
         io_close(s);
       }
 }
@@ -506,7 +504,6 @@ emerge:
                     array_reset(&h->r);
                     iob_reset(&h->iob);
                     free(h);
-                    shutdown(i, SHUT_RDWR);
                     io_close(i);
                 }
         }