Merge branch 'refs/heads/t/tarball-build-fix'
[paraslash.git] / udp_send.c
index 465b3ca64171b41ec23df50b398c589226dc4c79..3379f98d1dcd2f6b205492f13f4a8bd3e2807ac0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2014 Andre Noll <maan@tuebingen.mpg.de>
+ * Copyright (C) 2005 Andre Noll <maan@tuebingen.mpg.de>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -10,7 +10,6 @@
 #include <sys/socket.h>
 #include <regex.h>
 #include <sys/types.h>
-#include <sys/socket.h>
 #include <netinet/udp.h>
 #include <net/if.h>
 #include <arpa/inet.h>
@@ -58,7 +57,7 @@ static void udp_close_target(struct sender_client *sc)
        size_t len = vss_get_fec_eof_packet(&buf);
 
        /*
-        * Ignore the return value of wirte() since we are closing the target
+        * Ignore the return value of write() since we are closing the target
         * anyway. The sole purpose of the "do_nothing" statement is to silence
         * gcc.
         */