diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-01-15 11:27:29 +0100 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-01-17 14:52:46 +0100 |
commit | d1764ca33018f1f2e4a05926c879c67ad4aa8da5 (patch) | |
tree | 443cab099d2d5989a93a8102f599b51d36acc64e /main/streams/transports.c | |
parent | 117b18d22d14fb6a597b3cd6d52e75cef2d088bb (diff) | |
download | php-git-d1764ca33018f1f2e4a05926c879c67ad4aa8da5.tar.gz |
Make error messages more consistent by fixing capitalization
Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
Diffstat (limited to 'main/streams/transports.c')
-rw-r--r-- | main/streams/transports.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/streams/transports.c b/main/streams/transports.c index dd67c67bbf..fcc3f29330 100644 --- a/main/streams/transports.c +++ b/main/streams/transports.c @@ -357,7 +357,7 @@ PHPAPI int php_stream_xport_crypto_setup(php_stream *stream, php_stream_xport_cr return param.outputs.returncode; } - php_error_docref("streams.crypto", E_WARNING, "this stream does not support SSL/crypto"); + php_error_docref("streams.crypto", E_WARNING, "This stream does not support SSL/crypto"); return ret; } @@ -377,7 +377,7 @@ PHPAPI int php_stream_xport_crypto_enable(php_stream *stream, int activate) return param.outputs.returncode; } - php_error_docref("streams.crypto", E_WARNING, "this stream does not support SSL/crypto"); + php_error_docref("streams.crypto", E_WARNING, "This stream does not support SSL/crypto"); return ret; } @@ -399,7 +399,7 @@ PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t bufle } if (stream->readfilters.head) { - php_error_docref(NULL, E_WARNING, "cannot peek or fetch OOB data from a filtered stream"); + php_error_docref(NULL, E_WARNING, "Cannot peek or fetch OOB data from a filtered stream"); return -1; } @@ -469,7 +469,7 @@ PHPAPI int php_stream_xport_sendto(php_stream *stream, const char *buf, size_t b oob = (flags & STREAM_OOB) == STREAM_OOB; if ((oob || addr) && stream->writefilters.head) { - php_error_docref(NULL, E_WARNING, "cannot write OOB data, or data to a targeted address on a filtered stream"); + php_error_docref(NULL, E_WARNING, "Cannot write OOB data, or data to a targeted address on a filtered stream"); return -1; } |