1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00

Fix minor typos and formatting directives

This small patch fixes a typo in a comment, and a missing formatting
directive; both were caught by static analysis tools (misspell and go
vet).
This commit is contained in:
Alberto Bertogli
2016-11-20 18:32:26 +00:00
parent 249831064f
commit f7cdbae8e3
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ var (
var (
// Server addresses.
// We default to internal ones, but may get overriden via flags.
// We default to internal ones, but may get overridden via flags.
// TODO: Don't hard-code the default.
smtpAddr = "127.0.0.1:13444"
submissionAddr = "127.0.0.1:13999"

View File

@@ -151,7 +151,7 @@ func main() {
keyOut, err := os.OpenFile("privkey.pem", os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0600)
if err != nil {
log.Fatalf("failed to open privkey.pem for writing:", err)
log.Fatalf("failed to open privkey.pem for writing: %s", err)
return
}
pem.Encode(keyOut, pemBlockForKey(priv))