Send commitlog mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:
1. r1962 -
trunk/src/target/OM-2007/applications/openmoko-dialer/src
([EMAIL PROTECTED])
--- Begin Message ---
Author: thomas
Date: 2007-05-16 11:49:34 +0200 (Wed, 16 May 2007)
New Revision: 1962
Modified:
trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialer-window-history.c
Log:
openmoko-dialer: check journal is available before accessing it
Modified:
trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialer-window-history.c
===================================================================
---
trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialer-window-history.c
2007-05-16 09:35:40 UTC (rev 1961)
+++
trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialer-window-history.c
2007-05-16 09:49:34 UTC (rev 1962)
@@ -645,7 +645,7 @@
/* if there aren't any entries in the journal, we don't need to do any more
* here
*/
- if (moko_journal_get_nb_entries (p_dialer_data->journal))
+ if (!p_dialer_data->journal || moko_journal_get_nb_entries
(p_dialer_data->journal))
return 1;
j_entry = moko_journal_entry_new (VOICE_JOURNAL_ENTRY);
--- End Message ---
_______________________________________________
commitlog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/commitlog