[Pkg-telepathy-commits] [libnice] 253/265: agent: Document units for NiceAgent::upnp-timeout property

Simon McVittie smcv at debian.org
Wed May 14 12:05:13 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository libnice.

commit f5ecdf790199139c257ff6755b772ffa422013ec
Author: Philip Withnall <philip.withnall at collabora.co.uk>
Date:   Thu Apr 24 15:58:01 2014 +0100

    agent: Document units for NiceAgent::upnp-timeout property
    
    It’s in milliseconds.
---
 agent/agent.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/agent/agent.c b/agent/agent.c
index 5fef092..cd6e4ea 100644
--- a/agent/agent.c
+++ b/agent/agent.c
@@ -79,7 +79,7 @@
 #define MAX_BUFFER_SIZE ((1 << 16) - 1)  /* 65535 */
 
 #define DEFAULT_STUN_PORT  3478
-#define DEFAULT_UPNP_TIMEOUT 200
+#define DEFAULT_UPNP_TIMEOUT 200  /* milliseconds */
 
 #define MAX_TCP_MTU 1400 /* Use 1400 because of VPNs and we assume IEE 802.3 */
 
@@ -550,8 +550,8 @@ nice_agent_class_init (NiceAgentClass *klass)
   /**
    * NiceAgent:upnp-timeout:
    *
-   * The maximum amount of time to wait for UPnP discovery to finish before
-   * signaling the #NiceAgent::candidate-gathering-done signal
+   * The maximum amount of time (in milliseconds) to wait for UPnP discovery to
+   * finish before signaling the #NiceAgent::candidate-gathering-done signal
    *
    * Since: 0.0.7
    */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/libnice.git



More information about the Pkg-telepathy-commits mailing list