aboutsummaryrefslogtreecommitdiffstats
path: root/mail/upgrade-mailer.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-09-05 06:39:24 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-09-05 06:39:24 +0800
commita6939cf10dffcd41d609bc0131f1e0b882529fbf (patch)
treeb2bd6843c14c3ef2951831e996abe58ce691c2cc /mail/upgrade-mailer.c
parentf966fe07757883ad5168a16daa2da39afbb388b3 (diff)
downloadgsoc2013-evolution-a6939cf10dffcd41d609bc0131f1e0b882529fbf.tar.gz
gsoc2013-evolution-a6939cf10dffcd41d609bc0131f1e0b882529fbf.tar.zst
gsoc2013-evolution-a6939cf10dffcd41d609bc0131f1e0b882529fbf.zip
Return FALSE here. (get_base_url): Add a cast.
* upgrade-mailer.c (upgrade): Return FALSE here. (get_base_url): Add a cast. * component-factory.c (storage_xfer_folder): Removed unused variables. * Makefile.am: Rename upgrade-mailer to evolution-mail-upgrade. svn path=/trunk/; revision=17981
Diffstat (limited to 'mail/upgrade-mailer.c')
-rw-r--r--mail/upgrade-mailer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/upgrade-mailer.c b/mail/upgrade-mailer.c
index f20d482157..e25b63aefe 100644
--- a/mail/upgrade-mailer.c
+++ b/mail/upgrade-mailer.c
@@ -137,7 +137,7 @@ get_base_url (const char *protocol, const char *uri)
base_url = p;
p = strchr (p, '/');
- base_url = g_strdup_printf ("%s://%.*s", protocol, p ? p - base_url : strlen (base_url), base_url);
+ base_url = g_strdup_printf ("%s://%.*s", protocol, p ? (int) (p - base_url) : strlen (base_url), base_url);
return base_url;
}
@@ -852,6 +852,8 @@ upgrade (void)
mailer_upgrade (db);
gtk_main_quit ();
+
+ return FALSE;
}
int main (int argc, char **argv)