summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackendsmbbrowse.c
diff options
context:
space:
mode:
authorBrian Cameron <Brian.Cameron@sun.com>2009-10-09 10:48:58 -0500
committerBrian Cameron <Brian.Cameron@sun.com>2009-10-09 10:50:10 -0500
commitcd99d7d11fef5488cdd1e8b96829459dd2afad15 (patch)
treec829c09bd19798717f2e1d457b115ac8d01bbe69 /daemon/gvfsbackendsmbbrowse.c
parent8a540ab974ea032727ec0447ae678f9417d48103 (diff)
downloadgvfs-cd99d7d11fef5488cdd1e8b96829459dd2afad15.tar.gz
Avoid crash when printf function is called with a NULL string. Fixes
bug #580825.
Diffstat (limited to 'daemon/gvfsbackendsmbbrowse.c')
-rw-r--r--daemon/gvfsbackendsmbbrowse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsbackendsmbbrowse.c b/daemon/gvfsbackendsmbbrowse.c
index 2eebdd2f..23b9938e 100644
--- a/daemon/gvfsbackendsmbbrowse.c
+++ b/daemon/gvfsbackendsmbbrowse.c
@@ -1494,7 +1494,7 @@ g_vfs_backend_smb_browse_class_init (GVfsBackendSmbBrowseClass *klass)
}
#endif
- DEBUG ("g_vfs_backend_smb_browse_class_init - default workgroup = '%s'\n", default_workgroup);
+ DEBUG ("g_vfs_backend_smb_browse_class_init - default workgroup = '%s'\n", default_workgroup ? default_workgroup : "NULL");
}
void