From 14859f9862a29f5413c1f3b3f3eacfca2d4f74a0 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Mon, 25 Nov 2019 20:50:27 +0000 Subject: [PATCH] polish comments --- libvips/iofuncs/streami.c | 1 + libvips/iofuncs/streamiu.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libvips/iofuncs/streami.c b/libvips/iofuncs/streami.c index a9038327..f0fd929c 100644 --- a/libvips/iofuncs/streami.c +++ b/libvips/iofuncs/streami.c @@ -670,6 +670,7 @@ vips_streami_read( VipsStreami *streami, void *buffer, size_t length ) if( length > 0 ) { ssize_t n; + VIPS_DEBUG_MSG( " calling class->read()\n" ); n = class->read( streami, buffer, length ); VIPS_DEBUG_MSG( " %zd bytes from read()\n", n ); if( n == -1 ) { diff --git a/libvips/iofuncs/streamiu.c b/libvips/iofuncs/streamiu.c index dbfbb26c..31447719 100644 --- a/libvips/iofuncs/streamiu.c +++ b/libvips/iofuncs/streamiu.c @@ -78,7 +78,7 @@ vips_streamiu_read_real( VipsStreami *streami, VIPS_DEBUG_MSG( "vips_streamiu_read_real:\n" ); - /* Return value if no attached handler. + /* Return this value (error) if there's no attached handler. */ bytes_read = 0;