Description: fix a spelling mistake
Origin: vendor
Author: gregor herrmann <gregoa@debian.org>
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=107840
Bug: https://rt.cpan.org/Ticket/Display.html?id=107840
Reviewed-By: Xavier Guimard <x.guimard@free.fr>
Last-Update: 2025-09-29

--- a/lib/Event/RPC/Client.pm
+++ b/lib/Event/RPC/Client.pm
@@ -593,7 +593,7 @@
 
     error_cb => sub {
       my ($client, $error) = @_;
-      print "An RPC error occured: $error\n";
+      print "An RPC error occurred: $error\n";
       $client->disconnect;
       exit;
     },
@@ -806,7 +806,7 @@
 The Storable module is known to be insecure, so it should
 be taken as the last option only. By default the Client
 would do so. You can prevent that by setting this option
-explicitely to 0. It's enabled by default. Most likely
+explicitly to 0. It's enabled by default. Most likely
 the connection will fail in that case, because the server
 only will offer Storable if no other serialiser is available.
 
--- a/lib/Event/RPC/Loop.pm
+++ b/lib/Event/RPC/Loop.pm
@@ -73,7 +73,7 @@
 =item B<cb>
 
 This callback is called, without any parameters, if
-an event occured on the filehandle above.
+an event occurred on the filehandle above.
 
 =item B<desc>
 
--- a/lib/Event/RPC/Server.pm
+++ b/lib/Event/RPC/Server.pm
@@ -201,7 +201,7 @@
     }
 
     #-- By default we probe all supported formats, but
-    #-- not Storable. User has to activate this explicitely.
+    #-- not Storable. User has to activate this explicitly.
     if ( not $insecure_msg_fmt_ok ) {
         delete $probe_formats{STOR};
     }
@@ -713,7 +713,7 @@
 
 First you need to generate a server key and certificate for your server
 using the openssl command which is part of the OpenSSL distribution,
-e.g. by issueing these commands (please refer to the manpage of openssl
+e.g. by issuing these commands (please refer to the manpage of openssl
 for details - this is a very rough example, which works in general, but
 probably you want to tweak some parameters):
 
@@ -938,7 +938,7 @@
 The Storable module is known to be insecure. But for
 backward compatibility reasons Event::RPC::Server accepts
 clients which can't offer anything but Storable. You can
-prevent that by setting this option explicitely to 0. It's
+prevent that by setting this option explicitly to 0. It's
 enabled by default.
 
 =back
