asdfuser pushed a commit to branch ecore-1.7.
commit 910f77328e67f67e3425858ef6c1e3bb814c36e7
Author: Guillaume Friloux <[email protected]>
Date: Fri May 24 14:12:41 2013 +0200
Update NEWS and ChangeLog according to last fixes in ecore_con
Backport commit 16cbbb
Signed-off-by: Daniel Willmann <[email protected]>
---
ChangeLog | 4 ++++
NEWS | 2 ++
src/lib/ecore_con/ecore_con.c | 1 +
3 files changed, 7 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 224e130..4963f84 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1177,3 +1177,7 @@
even if you sent data.
* Fix cl->start_time (initialization missing). So now
ecore_con_client_uptime_get() is working.
+
+2013-05-24 Daniel Willmann
+ * Fix srv->start_time (initialization missing). So now
+ ecore_con_server_uptime_get() is working for plain TCP connections.
diff --git a/NEWS b/NEWS
index ff75253..8d9e35d 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,8 @@ Fixes:
connections even if you sent data.
* Fix cl->start_time (initialization missing). So now
ecore_con_client_uptime_get() is working.
+ * Fix srv->start_time (initialization missing). So now
+ ecore_con_server_uptime_get() is working for plain TCP connections.
Ecore 1.7.7
diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c
index 309b24a..158e1b9 100644
--- a/src/lib/ecore_con/ecore_con.c
+++ b/src/lib/ecore_con/ecore_con.c
@@ -371,6 +371,7 @@ ecore_con_server_add(Ecore_Con_Type compl_type,
if (!svr->name)
goto error;
+ svr->start_time = ecore_time_get();
svr->type = compl_type;
svr->port = port;
svr->data = (void *)data;
--
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may