aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/caldav
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/caldav')
-rw-r--r--plugins/caldav/caldav-source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/caldav/caldav-source.c b/plugins/caldav/caldav-source.c
index 76d19a9929..d28f24a8d4 100644
--- a/plugins/caldav/caldav-source.c
+++ b/plugins/caldav/caldav-source.c
@@ -90,7 +90,7 @@ replace_at_sign (const gchar *str)
res = g_strdup (str);
while (at = strchr (res, '@'), at) {
- gchar *tmp = g_malloc0 (sizeof (char) * (1 + strlen (res) + 2));
+ gchar *tmp = g_malloc0 (sizeof (gchar) * (1 + strlen (res) + 2));
strncpy (tmp, res, at - res);
strcat (tmp, "%40");