mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Add a user of CTASSERT().
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
|
||||
#include "lib/net/address.h"
|
||||
#include "lib/net/socket.h"
|
||||
#include "lib/cc/ctassert.h"
|
||||
#include "lib/container/smartlist.h"
|
||||
#include "lib/ctime/di_ops.h"
|
||||
#include "lib/log/log.h"
|
||||
@@ -98,6 +99,7 @@
|
||||
#if AF_UNSPEC != 0
|
||||
#error We rely on AF_UNSPEC being 0. Let us know about your platform, please!
|
||||
#endif
|
||||
CTASSERT(AF_UNSPEC == 0);
|
||||
|
||||
/** Convert the tor_addr_t in <b>a</b>, with port in <b>port</b>, into a
|
||||
* sockaddr object in *<b>sa_out</b> of object size <b>len</b>. If not enough
|
||||
|
||||
Reference in New Issue
Block a user