>From Frank Filz <ffilz...@mindspring.com>:

Frank Filz has uploaded this change for review. ( 
https://review.gerrithub.io/356202


Change subject: Fixup display buffer code to make sure buffer is always 
initialized
......................................................................

Fixup display buffer code to make sure buffer is always initialized

Sometimes a display function written to build a complex string can
end up not actually making any display calls other than the
display_start call it SHOULD start with, so make sure display_start
puts a NUL at the current position to assure the empty string is
indeed empty.

Also display_start should pass on display_remain's -1 return code
on an invalid buffer.

Also add a bit of documentation.

Change-Id: Ibc0b83c45532a2489b7d5421b5f1b5b7a4546f13
Signed-off-by: Frank S. Filz <ffilz...@mindspring.com>
---
M src/include/display.h
M src/log/display.c
2 files changed, 15 insertions(+), 4 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/02/356202/1
-- 
To view, visit https://review.gerrithub.io/356202
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibc0b83c45532a2489b7d5421b5f1b5b7a4546f13
Gerrit-Change-Number: 356202
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilz...@mindspring.com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to