Check that the pointer isn't NULL before dereferencing it, just to be safe and to...
commited26eac700105b19ec36727ef912a26d84c410d4
authornicolasp <nicolasp@a1c6a512-1295-4272-9138-f99709370657>
Sun, 16 Dec 2007 01:38:56 +0000 (16 01:38 +0000)
committernicolasp <nicolasp@a1c6a512-1295-4272-9138-f99709370657>
Sun, 16 Dec 2007 01:38:56 +0000 (16 01:38 +0000)
tree7c958a342b321e14faad6ee256a7ca24f6921e42
parent8bc802773c857ab848ddc1bda3d240805c779c13
Check that the pointer isn't NULL before dereferencing it, just to be safe and to allow using bufgetdata to know how much data is available. Also remove a few trailing spaces.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15940 a1c6a512-1295-4272-9138-f99709370657
apps/buffering.c