Skip to content

Commit

Permalink
use println() instead of printf().
Browse files Browse the repository at this point in the history
  • Loading branch information
cubicdaiya committed Jan 17, 2016
1 parent 5b2903e commit f895f9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nginx-build.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,16 +212,16 @@ func main() {
log.Printf("Generate configure script for %s.....", nginxBuilder.sourcePath())

if *pcreStatic && pcreBuilder.isIncludeWithOption(nginxConfigure) {
log.Printf(pcreBuilder.warnMsgWithLibrary())
log.Println(pcreBuilder.warnMsgWithLibrary())
}

if *openSSLStatic && openSSLBuilder.isIncludeWithOption(nginxConfigure) {
log.Printf(openSSLBuilder.warnMsgWithLibrary())
log.Println(openSSLBuilder.warnMsgWithLibrary())

}

if *zlibStatic && zlibBuilder.isIncludeWithOption(nginxConfigure) {
log.Printf(zlibBuilder.warnMsgWithLibrary())
log.Println(zlibBuilder.warnMsgWithLibrary())
}

if strings.Contains(nginxConfigure, "--add-module=") {
Expand Down

0 comments on commit f895f9b

Please sign in to comment.