]> git.sesse.net Git - vlc/commitdiff
typos
authorSébastien Escudier <sebastien-devel@celeos.eu>
Thu, 15 Mar 2012 09:36:07 +0000 (10:36 +0100)
committerSébastien Escudier <sebastien-devel@celeos.eu>
Thu, 15 Mar 2012 09:36:07 +0000 (10:36 +0100)
modules/services_discovery/sap.c

index c8bac82b2c08d9c61f82b85d96bd950e2d9026af..a103bc799d6fff1c3b5e84f07141ff0af3b9a9a8 100644 (file)
@@ -567,7 +567,7 @@ static void *Run( void *data )
 
         mtime_t now = mdate();
 
-        /* A 1 hour timeout correspong to the RFC Implicit timeout.
+        /* A 1 hour timeout correspond to the RFC Implicit timeout.
          * This timeout is tuned in the following loop. */
         timeout = 1000 * 60 * 60;
 
@@ -578,7 +578,7 @@ static void *Run( void *data )
             sap_announce_t * p_announce = p_sd->p_sys->pp_announces[i];
             mtime_t i_last_period = now - p_announce->i_last;
 
-            /* Remove the annoucement, if the last announcement was 1 hour ago
+            /* Remove the announcement, if the last announcement was 1 hour ago
              * or if the last packet emitted was 3 times the average time
              * between two packets */
             if( ( p_announce->i_period_trust > 5 && i_last_period > 3 * p_announce->i_period ) ||
@@ -795,7 +795,7 @@ static int ParseSAP( services_discovery_t *p_sd, const uint8_t *buf,
         {
             /* We don't support delete announcement as they can easily
              * Be used to highjack an announcement by a third party.
-             * Intead we cleverly implement Implicit Announcement removal.
+             * Instead we cleverly implement Implicit Announcement removal.
              *
              * if( b_need_delete )
              *    RemoveAnnounce( p_sd, p_sd->p_sys->pp_announces[i]);