Description: Spelling errors
Author: Xavier Guimard <x.guimard@free.fr>
Forwarded: https://github.com/rs/net-server-mail/commit/c2240f9c7e896ae54f56e2c2b991c8c0f56ddb1b
Last-Update: 2016-01-13

--- a/lib/Net/Server/Mail.pm
+++ b/lib/Net/Server/Mail.pm
@@ -678,7 +678,7 @@
 
 This event append where connection is closed or an error occurs during reading from socket.
 
-Takes the error description as an argument if an error occured and the argument is undefined if the session was closed by peer.
+Takes the error description as an argument if an error occurred and the argument is undefined if the session was closed by peer.
 
     $mailserver->set_callback
     (
@@ -687,7 +687,7 @@
             my($session, $err) = @_;
             if( defined $err )
             {
-                print "Error occured during processing: $err\n";
+                print "Error occurred during processing: $err\n";
             }
             else
             {
