From 60f05518aab585213fd053b1f6d0c96646e8f44d Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 20 Apr 2015 15:12:31 -0700 Subject: (1) now builds and works on Linux, (2) fix a threading problem causing carsh on shutdown, (3) cleanup in selftest, re-enable Phy and Http tests. --- one.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'one.cpp') diff --git a/one.cpp b/one.cpp index 8480988e..c75542e4 100644 --- a/one.cpp +++ b/one.cpp @@ -381,7 +381,7 @@ static int cli(int argc,char **argv) verstr[0] = '-'; verstr[1] = (char)0; } - printf("200 listpeers %s %s %lld %s %s"ZT_EOL_S,address,(paths.length()) ? paths.c_str() : "-",latency,verstr,role); + printf("200 listpeers %s %s %lld %s %s"ZT_EOL_S,address,(paths.length()) ? paths.c_str() : "-",(long long)latency,verstr,role); } } } -- cgit v1.2.3