danielappiagyei-bc commented on code in PR #10565:
URL: https://github.com/apache/nuttx/pull/10565#discussion_r1322325916
##########
libs/libc/stream/lib_bufferedoutstream.c:
##########
@@ -40,18 +40,18 @@
* Name: bufferedoutstream_flush
****************************************************************************/
-static int bufferedoutstream_flush(FAR struct lib_outstream_s *this)
+static int bufferedoutstream_flush(FAR struct lib_outstream_s *self)
{
- FAR struct lib_bufferedoutstream_s *rthis =
- (FAR struct lib_bufferedoutstream_s *)this;
+ FAR struct lib_bufferedoutstream_s *stream =
+ (FAR struct lib_bufferedoutstream_s *)self;
int ret = OK;
- ret = lib_stream_puts(rthis->backend, rthis->buffer,
- rthis->pending);
+ ret = lib_stream_puts(stream->backend, stream->buffer,
+ stream->pending);
if (ret >= 0)
{
- rthis->pending = 0;
+ stream->pending = 0;
Review Comment:
i've now reviewed my changes and fixed the extra indents in all files I
modified, not just the ones you mentioned. good eye!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]