[Nice] [nice/master] Fixes to trailing spaces

Youness Alaoui youness.alaoui at collabora.co.uk
Wed Nov 5 14:01:01 PST 2008


darcs-hash:20080422192524-4f0f6-e16e7dddec8c9ecdfa196536e6cc940bad934b32.gz
---
 agent/agent.c     |   12 ++++++------
 agent/conncheck.c |   10 +++++-----
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/agent/agent.c b/agent/agent.c
index af50a56..43beaad 100644
--- a/agent/agent.c
+++ b/agent/agent.c
@@ -1250,7 +1250,7 @@ nice_agent_recv (
 
 		socket = component_find_udp_socket_by_fd (component, j);
                 g_assert (socket);
-		
+
                 len = _nice_agent_recv (agent, stream, component, socket,
 					buf_len, buf);
 
@@ -1339,11 +1339,11 @@ nice_agent_poll_read (
       for (k = stream->components; k; k = k->next)
 	{
 	  Component *component = k->data;
-	  
+
 	  for (j = component->sockets; j; j = j->next)
 	    {
 	      NiceUDPSocket *sockptr = j->data;
-	      
+
 	      FD_SET (sockptr->fileno, &fds);
 	      max_fd = MAX (sockptr->fileno, max_fd);
 	    }
@@ -1398,7 +1398,7 @@ nice_agent_poll_read (
                   break;
 		}
               }
-	    
+
             if (socket == NULL || stream == NULL || component == NULL)
               break;
 
@@ -1420,9 +1420,9 @@ nice_agent_poll_read (
 
 /**
  * Sends a data payload over a stream component.
- * 
+ *
  * @pre component state MUST be NICE_COMPONENT_STATE_READY,
- * or as a special case, in any state if component was 
+ * or as a special case, in any state if component was
  * in READY state before and was then restarted
  *
  * @return number of bytes sent, or negative error code
diff --git a/agent/conncheck.c b/agent/conncheck.c
index 66a7cf4..7ef087d 100644
--- a/agent/conncheck.c
+++ b/agent/conncheck.c
@@ -424,10 +424,10 @@ static gboolean priv_conn_keepalive_tick (gpointer pointer)
 	CandidatePair *p = &component->selected_pair;
 	struct sockaddr sockaddr;
 	int res;
-	
+
 	memset (&sockaddr, 0, sizeof (sockaddr));
 	nice_address_copy_to_sockaddr (&p->remote->addr, &sockaddr);
-	
+
 	res = stun_bind_keepalive (p->local->sockptr->fileno,
 				   &sockaddr, sizeof (sockaddr));
 	g_debug ("stun_bind_keepalive for pair %p res %d (%s).", p, res, strerror (res));
@@ -437,7 +437,7 @@ static gboolean priv_conn_keepalive_tick (gpointer pointer)
       component->media_after_tick = FALSE;
     }
   }
-  
+
   /* case 2: connectivity establishment ongoing
    *         (ref ICE sect 4.1.1.4 "Keeping Candidates Alive" ID-19)  */
   for (i = agent->streams; i; i = i->next) {
@@ -445,7 +445,7 @@ static gboolean priv_conn_keepalive_tick (gpointer pointer)
     if (stream->conncheck_state == NICE_CHECKLIST_RUNNING) {
       for (i = stream->conncheck_list; i ; i = i->next) {
 	CandidateCheckPair *p = i->data;
-      
+
 	if (p->traffic_after_tick != TRUE) {
 	  g_debug ("resending STUN-CC to keep the candidate alive (pair %p).", p);
 	  conn_check_send (agent, p);
@@ -454,7 +454,7 @@ static gboolean priv_conn_keepalive_tick (gpointer pointer)
       }
     }
   }
-    
+
   if (errors) {
     g_debug ("%s: stopping keepalive timer", G_STRFUNC);
     goto done;
-- 
1.5.6.5




More information about the Nice mailing list