Commit dda21433 authored by Olivier Crête's avatar Olivier Crête

document sockaddrcmp's return value

parent e618baf5
...@@ -47,7 +47,9 @@ ...@@ -47,7 +47,9 @@
#include <errno.h> #include <errno.h>
#include "utils.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 sockaddrcmp (const struct sockaddr *a, const struct sockaddr *b)
{ {
int res; int res;
......
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