[Nice] [nice/master] document sockaddrcmp's return value

Olivier Crête olivier.crete at collabora.co.uk
Wed Nov 5 14:02:11 PST 2008


---
 stun/utils.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/stun/utils.c b/stun/utils.c
index c024986..635bdba 100644
--- a/stun/utils.c
+++ b/stun/utils.c
@@ -47,7 +47,9 @@
 #include <errno.h>
 #include "utils.h"
 
-/** Compares two socket addresses */
+/** Compares two socket addresses
+ * @return 0 if the addresses are equal, non-zero otherwise
+ */
 int sockaddrcmp (const struct sockaddr *a, const struct sockaddr *b)
 {
   int res;
-- 
1.5.6.5




More information about the Nice mailing list