Codebase list ffuf / 3968d79e-9bdd-49cf-bcb8-6fb3f6bde273/upstream debian / patches / 10-fix-spelling.patch
3968d79e-9bdd-49cf-bcb8-6fb3f6bde273/upstream

Tree @3968d79e-9bdd-49cf-bcb8-6fb3f6bde273/upstream (Download .tar.gz)

10-fix-spelling.patch @3968d79e-9bdd-49cf-bcb8-6fb3f6bde273/upstreamraw · history · blame

# Author: Pedro Loami Barbosa dos Santos <[email protected]>
# Date: May 11 2020
# Description: Fix spelling on /pkg/ffuf/multierror.go
Index: ffuf-1.0.2/pkg/ffuf/multierror.go
===================================================================
--- ffuf-1.0.2.orig/pkg/ffuf/multierror.go
+++ ffuf-1.0.2/pkg/ffuf/multierror.go
@@ -20,7 +20,7 @@ func (m *Multierror) Add(err error) {
 func (m *Multierror) ErrorOrNil() error {
 	var errString string
 	if len(m.errors) > 0 {
-		errString += fmt.Sprintf("%d errors occured.\n", len(m.errors))
+		errString += fmt.Sprintf("%d errors occurred.\n", len(m.errors))
 		for _, e := range m.errors {
 			errString += fmt.Sprintf("\t* %s\n", e)
 		}