diff options
| author | Rutger Broekhoff | 2024-11-14 00:36:10 +0100 |
|---|---|---|
| committer | Rutger Broekhoff | 2024-11-14 00:36:10 +0100 |
| commit | 610684b757d1a99d7e846df778953f746c6950ce (patch) | |
| tree | 3d2c72c0a914e1618f9e0f842582687621b4bdc0 | |
| parent | 6993a0b90012ccd5eeb1b41aac02bb31b0281cc9 (diff) | |
| download | icalproxy-610684b757d1a99d7e846df778953f746c6950ce.tar.gz icalproxy-610684b757d1a99d7e846df778953f746c6950ce.zip | |
I had an urge to change some lines for the commit stats
| -rw-r--r-- | config.go | 4 | ||||
| -rw-r--r-- | icalproxy.go | 2 |
2 files changed, 3 insertions, 3 deletions
| @@ -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 | ||