Commits

daniel_podolsky committed 26dc0b1

indentation style fixed

  • Participants
  • Parent commits e3113bd

Comments (0)

Files changed (1)

src/net/fusejna/FuseFilesystem.java

 	@FuseMethod
 	final int _listxattr(final String path, final Pointer buffer, final TypeSize size)
 	{
-		if (buffer == null)
-			{ return 0; };
 		final long sizeValue = size.longValue();
+		if (buffer == null || sizeValue == 0L) {
+			return 0;
+		}
 		final XattrListFiller filler = new XattrListFiller(buffer.getByteBuffer(0, sizeValue), sizeValue);
 		return listxattr(path, filler);
 	}