aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/publish-calendar/url-editor-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/publish-calendar/url-editor-dialog.c')
-rw-r--r--plugins/publish-calendar/url-editor-dialog.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/plugins/publish-calendar/url-editor-dialog.c b/plugins/publish-calendar/url-editor-dialog.c
index 3e97756d03..5f8a68e693 100644
--- a/plugins/publish-calendar/url-editor-dialog.c
+++ b/plugins/publish-calendar/url-editor-dialog.c
@@ -87,12 +87,13 @@ create_uri (UrlEditorDialog *dialog)
if (uri->location)
g_free (uri->location);
- uri->location = g_strdup_printf ("%s://%s%s%s%s%s%s%s",
- method,
- username, (username[0] != '\0') ? "@" : "",
- server,
- (port[0] != '\0') ? ":" : "", port,
- (file[0] != '/') ? "/" : "", file);
+ uri->location = g_strdup_printf (
+ "%s://%s%s%s%s%s%s%s",
+ method,
+ username, (username[0] != '\0') ? "@" : "",
+ server,
+ (port[0] != '\0') ? ":" : "", port,
+ (file[0] != '/') ? "/" : "", file);
g_free (server);
g_free (file);