mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-01 15:33:50 +00:00
fix build error
This commit is contained in:
+1
-1
@@ -122,7 +122,7 @@ int send_traffic_stat(uint64_t tx, uint64_t rx)
|
||||
}
|
||||
|
||||
char stat[256] = {0};
|
||||
snprintf(stat, 256, "%" PRIu64 "|%" PRIu64, tx, rx);
|
||||
snprintf(stat, 256, "%llu|%llu", tx, rx);
|
||||
size_t len = strlen(stat);
|
||||
|
||||
if (send(sock, stat, len, 0) == -1) {
|
||||
|
||||
Reference in New Issue
Block a user