Commit 6f7d72ab authored by Sébastien Escudier's avatar Sébastien Escudier

typos

parent eaab103f
...@@ -567,7 +567,7 @@ static void *Run( void *data ) ...@@ -567,7 +567,7 @@ static void *Run( void *data )
mtime_t now = mdate(); 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. */ * This timeout is tuned in the following loop. */
timeout = 1000 * 60 * 60; timeout = 1000 * 60 * 60;
...@@ -578,7 +578,7 @@ static void *Run( void *data ) ...@@ -578,7 +578,7 @@ static void *Run( void *data )
sap_announce_t * p_announce = p_sd->p_sys->pp_announces[i]; sap_announce_t * p_announce = p_sd->p_sys->pp_announces[i];
mtime_t i_last_period = now - p_announce->i_last; 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 * or if the last packet emitted was 3 times the average time
* between two packets */ * between two packets */
if( ( p_announce->i_period_trust > 5 && i_last_period > 3 * p_announce->i_period ) || 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, ...@@ -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 /* We don't support delete announcement as they can easily
* Be used to highjack an announcement by a third party. * 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 ) * if( b_need_delete )
* RemoveAnnounce( p_sd, p_sd->p_sys->pp_announces[i]); * RemoveAnnounce( p_sd, p_sd->p_sys->pp_announces[i]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment