summaryrefslogtreecommitdiff
path: root/camel/camel-provider.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-11-14 22:04:19 +0000
committerMatthew Barnes <mbarnes@src.gnome.org>2007-11-14 22:04:19 +0000
commit7f4e14e88885f606d43734663a401dc37cf498aa (patch)
treef176412c5a2b4c617ddbdae98b72683a9ef5a000 /camel/camel-provider.c
parent3d7d874a84446b022a1fb87e781159194799eac5 (diff)
downloadevolution-data-server-7f4e14e88885f606d43734663a401dc37cf498aa.tar.gz
** Remove trailing whitespace from source code.
2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=8210
Diffstat (limited to 'camel/camel-provider.c')
-rw-r--r--camel/camel-provider.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/camel/camel-provider.c b/camel/camel-provider.c
index 3a3fe447c..e3d06fa56 100644
--- a/camel/camel-provider.c
+++ b/camel/camel-provider.c
@@ -60,14 +60,14 @@ static GStaticRecMutex provider_lock = G_STATIC_REC_MUTEX_INIT;
static CamelProvider vee_provider = {
"vfolder",
N_("Virtual folder email provider"),
-
+
N_("For reading mail as a query of another set of folders"),
-
+
"vfolder",
-
+
CAMEL_PROVIDER_IS_STORAGE,
CAMEL_URL_NEED_PATH | CAMEL_URL_PATH_IS_ABSOLUTE | CAMEL_URL_FRAGMENT_IS_PATH,
-
+
/* ... */
};
@@ -121,14 +121,14 @@ camel_provider_init (void)
CAMEL_PROVIDERDIR, g_strerror (errno));
return;
}
-
+
while ((entry = g_dir_read_name (dir))) {
FILE *fp;
-
+
p = strrchr (entry, '.');
if (!p || strcmp (p, ".urls") != 0)
continue;
-
+
name = g_strdup_printf ("%s/%s", CAMEL_PROVIDERDIR, entry);
fp = g_fopen (name, "r");
if (!fp) {
@@ -137,7 +137,7 @@ camel_provider_init (void)
g_free (name);
continue;
}
-
+
p = strrchr (name, '.');
strcpy (p, "." G_MODULE_SUFFIX);
@@ -149,7 +149,7 @@ camel_provider_init (void)
p = strchr (buf, '\n');
if (p)
*p = '\0';
-
+
if (*buf) {
char *protocol = g_strdup(buf);
@@ -173,7 +173,7 @@ camel_provider_init (void)
* Loads the provider at @path, and calls its initialization function,
* passing @session as an argument. The provider should then register
* itself with @session.
- **/
+ **/
void
camel_provider_load(const char *path, CamelException *ex)
{
@@ -234,7 +234,7 @@ camel_provider_register(CamelProvider *provider)
UNLOCK();
return;
}
-
+
for (i = 0; i < CAMEL_NUM_PROVIDER_TYPES; i++) {
if (provider->object_types[i])
provider->service_cache[i] = camel_object_bag_new (provider->url_hash, provider->url_equal,