[chronojump] On ping send only the first 11 chars



commit 53ad606ffd062b593a205f2b657118d8a3320e22
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Apr 23 19:01:46 2020 +0200

    On ping send only the first 11 chars

 src/json/json.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/json/json.cs b/src/json/json.cs
index 0811596c..a37b438e 100644
--- a/src/json/json.cs
+++ b/src/json/json.cs
@@ -214,7 +214,7 @@ public class Json
                // Creates the json object
                JsonObject json = new JsonObject();
                json.Add("os_version", osVersion);
-               json.Add("cj_version", cjVersion);
+               json.Add("cj_version", cjVersion.Substring(0,11)); //send only the first 11 chars
                json.Add("machine_id", machineID);
 
                // Converts it to a String


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]