* Note that debian alpha packages should use versions like this:
* 2.0.34-0alpha0
*/
-#define SIRIDB_VERSION_PRE_RELEASE "-alpha-0"
+#define SIRIDB_VERSION_PRE_RELEASE "-alpha-1"
#ifndef NDEBUG
#define SIRIDB_VERSION_BUILD_RELEASE "+debug"
MEM_CHECK = False
BUILDTYPE = 'Release'
SERVER_ADDRESS = '%HOSTNAME'
- IP_SUPPORT = 'ALL'
+ IP_SUPPORT = 'ALL' # ALL, IPV4ONLY
TERMINAL = None # one of [ 'XTERM', 'XFCE4_TERMINAL', None ]
BIND_CLIENT_ADDRESS = "::"
BIND_SERVER_ADDRESS = "::"
if (port == 0)
return 0;
- if (siri.cfg->ip_support == IP_SUPPORT_IPV4ONLY) {
+ if (siri.cfg->ip_support == IP_SUPPORT_IPV4ONLY)
+ {
(void) uv_ip4_addr("0.0.0.0", (int) port, (struct sockaddr_in *) &addr);
- } else {
+ } else
+ {
(void) uv_ip6_addr("::", (int) port, (struct sockaddr_in6 *) &addr);
}
struct sockaddr_storage addr = {0};
uint16_t port = siri.cfg->http_status_port;
- if (siri.cfg->ip_support == IP_SUPPORT_IPV4ONLY) {
+ if (siri.cfg->ip_support == IP_SUPPORT_IPV4ONLY)
+ {
(void) uv_ip4_addr("0.0.0.0", (int) port, (struct sockaddr_in *) &addr);
- } else {
+ } else
+ {
(void) uv_ip6_addr("::", (int) port, (struct sockaddr_in6 *) &addr);
}