summaryrefslogtreecommitdiff
path: root/src/fruits/cmv
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-12-27 11:02:38 -0500
committerAndrew Opalach <andrew@akon.city> 2024-12-27 11:02:38 -0500
commit4af2d16c06a8a67ab225caa61ccd94df3c572bdc (patch)
tree6f5b364ea409c93aa9f0b795f252ac78c7d833f9 /src/fruits/cmv
parent9026e7f49f11e920eac666bd4159ec459b979623 (diff)
downloadcamu-4af2d16c06a8a67ab225caa61ccd94df3c572bdc.tar.gz
camu-4af2d16c06a8a67ab225caa61ccd94df3c572bdc.tar.bz2
camu-4af2d16c06a8a67ab225caa61ccd94df3c572bdc.zip
Fix some configurations, add sink loop mode
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/fruits/cmv')
-rw-r--r--src/fruits/cmv/cmv.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fruits/cmv/cmv.c b/src/fruits/cmv/cmv.c
index 8509485..6fd1f38 100644
--- a/src/fruits/cmv/cmv.c
+++ b/src/fruits/cmv/cmv.c
@@ -12,7 +12,11 @@
#include "../common.h"
+#ifndef CAMU_SINK_ONLY
+#ifndef _WIN32
static str *CMV_UNIX_PATH = al_str_c("/tmp/cmv_sock");
+#endif
+#endif
struct cmv {
struct nn_event_loop loop;
@@ -87,7 +91,7 @@ s32 wmain(s32 argc, wchar_t **argv)
addr = CAMU_TEST_ADDR;
}
#else
- type = NNWT_SOCKET_TCP; addr = CAMU_SERVER_IP;
+ type = NNWT_SOCKET_TCP; addr = CAMU_TEST_ADDR;
#endif
#ifndef CAMU_SINK_ONLY