aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Rutger Broekhoff2024-11-14 00:36:10 +0100
committerLibravatar Rutger Broekhoff2024-11-14 00:36:10 +0100
commit610684b757d1a99d7e846df778953f746c6950ce (patch)
tree3d2c72c0a914e1618f9e0f842582687621b4bdc0
parent6993a0b90012ccd5eeb1b41aac02bb31b0281cc9 (diff)
downloadicalproxy-610684b757d1a99d7e846df778953f746c6950ce.tar.gz
icalproxy-610684b757d1a99d7e846df778953f746c6950ce.zip
I had an urge to change some lines for the commit stats
-rw-r--r--config.go4
-rw-r--r--icalproxy.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/config.go b/config.go
index 9070ae9..3ddf42a 100644
--- a/config.go
+++ b/config.go
@@ -44,8 +44,8 @@ func printConfig(cfg *config) {
44 b64 := base64.StdEncoding 44 b64 := base64.StdEncoding
45 45
46 log.Print("Loaded configuration: ") 46 log.Print("Loaded configuration: ")
47 log.Print(" Calendar URL: ", cfg.CalendarURL.v.String()) 47 log.Print(" Calendar URL: ", cfg.CalendarURL.v.String())
48 log.Print(" HTTP Port: ", cfg.Port) 48 log.Print(" HTTP Port: ", cfg.Port)
49 log.Print(" Ignoring:") 49 log.Print(" Ignoring:")
50 for _, entry := range cfg.Ignore.LocationRegexes { 50 for _, entry := range cfg.Ignore.LocationRegexes {
51 log.Printf(" Events with locations matching %s", entry.String()) 51 log.Printf(" Events with locations matching %s", entry.String())
diff --git a/icalproxy.go b/icalproxy.go
index 60a9bac..ff9edf4 100644
--- a/icalproxy.go
+++ b/icalproxy.go
@@ -32,7 +32,7 @@ func main() {
32 ReadHeaderTimeout: 2 * time.Second, 32 ReadHeaderTimeout: 2 * time.Second,
33 } 33 }
34 34
35 log.Println("Listening on", cfg.Port) 35 log.Println("Listening on port ", cfg.Port)
36 log.Fatal(server.ListenAndServe()) 36 log.Fatal(server.ListenAndServe())
37} 37}
38 38