aboutsummaryrefslogtreecommitdiffstats
path: root/mail/session.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-01-27 11:13:30 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-01-27 11:13:30 +0800
commit93c8da913ba3e095432d6e2c07c8fcd6f5c3bef7 (patch)
tree920393544e4f3214d92e98f3619831887b96b4ce /mail/session.c
parent62ec012904d2004a0b486b10ddfdb05b98f05c3a (diff)
downloadgsoc2013-evolution-93c8da913ba3e095432d6e2c07c8fcd6f5c3bef7.tar
gsoc2013-evolution-93c8da913ba3e095432d6e2c07c8fcd6f5c3bef7.tar.gz
gsoc2013-evolution-93c8da913ba3e095432d6e2c07c8fcd6f5c3bef7.tar.bz2
gsoc2013-evolution-93c8da913ba3e095432d6e2c07c8fcd6f5c3bef7.tar.lz
gsoc2013-evolution-93c8da913ba3e095432d6e2c07c8fcd6f5c3bef7.tar.xz
gsoc2013-evolution-93c8da913ba3e095432d6e2c07c8fcd6f5c3bef7.tar.zst
gsoc2013-evolution-93c8da913ba3e095432d6e2c07c8fcd6f5c3bef7.zip
Check for a NULL service->url as we obviously can't subscribe to folders
2001-01-26 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c (populate_store_foreach): Check for a NULL service->url as we obviously can't subscribe to folders on a non-existant mail source :-) (subscribe_do_get_store): Check for a NULL url here too, not that we should need it anymore (due to the above fix) but it doesn't hurt. Also, should we wait on the thread? Probably doesn't matter. svn path=/trunk/; revision=7844
Diffstat (limited to 'mail/session.c')
-rw-r--r--mail/session.c24
1 files changed, 19 insertions, 5 deletions
diff --git a/mail/session.c b/mail/session.c
index a4a2122ddc..8e8ff6e4bf 100644
--- a/mail/session.c
+++ b/mail/session.c
@@ -1,11 +1,26 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/* mail-session.c: handles the session information and resource manipulation */
/*
- * mail-session.c: handles the session information and resource manipulation
+ * Authors: Miguel de Icaza <miguel@gnu.org>
*
- * Author:
- * Miguel de Icaza (miguel@gnu.org)
+ * Copyright 2001 Ximian, Inc. (www.ximian.com)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
*
- * (C) 2000 Helix Code, Inc. http://www.helixcode.com
*/
+
#include <config.h>
#include <gnome.h>
#include "mail.h"
@@ -34,7 +49,6 @@ mail_session_request_dialog (const char *prompt, gboolean secret, const char *ke
gboolean async)
{
GtkWidget *dialog;
-
char *ans;
if (!passwords)