]> granicus.if.org Git - php/commitdiff
Fix typo in error message
authorJohannes Schlüter <johannes@php.net>
Fri, 1 Feb 2013 11:31:07 +0000 (12:31 +0100)
committerJohannes Schlüter <johannes@php.net>
Fri, 1 Feb 2013 11:31:07 +0000 (12:31 +0100)
ext/snmp/snmp.c

index 926b666955fd3297f8d944b56a0d329bf6ba5411..037fcce825be9efd0479debee59654b9fd47ba09 100644 (file)
@@ -1135,7 +1135,7 @@ static int netsnmp_session_init(php_snmp_session **session_p, int version, char
                        }
                        *pptr = '\0';
                } else {
-                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "mailformed IPv6 address, closing square bracket missing");
+                       php_error_docref(NULL TSRMLS_CC, E_WARNING, "malformed IPv6 address, closing square bracket missing");
                        return (-1);
                }
        } else { /* IPv4 address */