[Galago-commits] r2843 - in trunk/libgalago: . libgalago
galago-commits at freedesktop.org
galago-commits at freedesktop.org
Mon Jun 12 19:55:11 PDT 2006
Author: chipx86
Date: 2006-06-12 19:55:07 -0700 (Mon, 12 Jun 2006)
New Revision: 2843
Modified:
trunk/libgalago/ChangeLog
trunk/libgalago/libgalago/galago-presence.c
Log:
Fix a segfault when an idle start time of 0 is passed to galago_presence_set_idle_time(). Thanks to kkubasik for finding this. This closes bug #64.
Modified: trunk/libgalago/ChangeLog
===================================================================
--- trunk/libgalago/ChangeLog 2006-06-12 09:07:38 UTC (rev 2842)
+++ trunk/libgalago/ChangeLog 2006-06-13 02:55:07 UTC (rev 2843)
@@ -1,3 +1,10 @@
+Mon Jun 12 19:54:14 PDT 2006 Christian Hammond <chipx86 at chipx86.com>
+
+ * libgalago/galago-presence.c:
+ - Fix a segfault when an idle start time of 0 is passed to
+ galago_presence_set_idle_time(). Thanks to kkubasik for finding this.
+ This closes bug #64.
+
Mon Jun 12 02:05:46 PDT 2006 Christian Hammond <chipx86 at chipx86.com>
* libgalago/galago-account.c:
Modified: trunk/libgalago/libgalago/galago-presence.c
===================================================================
--- trunk/libgalago/libgalago/galago-presence.c 2006-06-12 09:07:38 UTC (rev 2842)
+++ trunk/libgalago/libgalago/galago-presence.c 2006-06-13 02:55:07 UTC (rev 2843)
@@ -406,7 +406,7 @@
g_return_if_fail(presence != NULL);
g_return_if_fail(GALAGO_IS_PRESENCE(presence));
- g_assert(!idle || idle_start_time > 0);
+ g_return_if_fail(!idle || idle_start_time >= 0);
if (presence->priv->idle == idle &&
presence->priv->idle_start_time == idle_start_time)
More information about the galago-commits
mailing list