projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* fixes NB#62982 (wrong logical id)
[modest]
/
src
/
maemo
/
modest-maemo-utils.c
diff --git
a/src/maemo/modest-maemo-utils.c
b/src/maemo/modest-maemo-utils.c
index
be36a17
..
9e09a79
100644
(file)
--- a/
src/maemo/modest-maemo-utils.c
+++ b/
src/maemo/modest-maemo-utils.c
@@
-203,6
+203,11
@@
modest_maemo_utils_get_device_name (void)
gboolean
modest_maemo_utils_folder_writable (const gchar *filename)
{
+ g_return_val_if_fail (filename, FALSE);
+
+ if (!filename)
+ return FALSE;
+
if (g_strncasecmp (filename, "obex", 4) != 0) {
GnomeVFSFileInfo folder_info;
gchar *folder;