[chronojump] trying git again



commit 5b66e33b0f0d94c2571d2abd912c8f8138e5a7a0
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Apr 23 16:10:33 2009 +0200

    trying git again
---
 TODO.txt      |    2 --
 src/server.cs |   10 ++--------
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/TODO.txt b/TODO.txt
index 8297b71..30f6fa1 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -1,7 +1,5 @@
 TODO: 
 
-prova
-
 fix two bugs:
 1.- the chronojump.cs findVersion (just do more tests check that the error is fixed easily)
 2.- the sqlite problem with the thread at start... need to explore more
diff --git a/src/server.cs b/src/server.cs
index f2590a1..f527be6 100644
--- a/src/server.cs
+++ b/src/server.cs
@@ -29,6 +29,8 @@ using Glade;
 using System.Net;
 using System.Collections;
 
+//test comment
+
 public class Server
 {
 	public static bool CanI(string action, double clientVersion) {
@@ -50,30 +52,22 @@ public class Server
 
 	public static string Ping(bool doInsertion, string progName, string progVersion) {
 		try {
-			Console.WriteLine("--a--");
 			ChronojumpServer myServer = new ChronojumpServer();
-			Console.WriteLine("--b--");
 			Log.WriteLine(myServer.ConnectDatabase());
 		
-			Console.WriteLine("--c--");
 			int evalSID = Convert.ToInt32(SqlitePreferences.Select("evaluatorServerID"));
 
-			Console.WriteLine("--d--");
 			ServerPing myPing = new ServerPing(evalSID, progName + " " + progVersion, Util.GetOS(), 
 					//Constants.IPUnknown, Util.DateParse(DateTime.Now.ToString())); //evaluator, ip, date
 					getIP(), Util.DateParse(DateTime.Now.ToString())); //evaluator, ip, date
 			//if !doIsertion nothing will be uploaded,
 			//is ok for uploadPerson to know if server is online
-			Console.WriteLine("--e--");
 			string versionAvailable = myServer.UploadPing(myPing, doInsertion);
 			
-			Console.WriteLine("--f--");
 			Log.WriteLine(myServer.DisConnectDatabase());
 
-			Console.WriteLine("--g--");
 			return versionAvailable;
 		} catch {
-			Console.WriteLine("--h--");
 			return Constants.ServerOffline;
 		}
 	}



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