sbtools: always check the result of getenv against NULL, use strcasecmp instead of...
commitf86ef406ad17832bffa284ca8ce3fbf988a19823
authorpamaury <pamaury@a1c6a512-1295-4272-9138-f99709370657>
Thu, 9 Jun 2011 09:39:21 +0000 (9 09:39 +0000)
committerpamaury <pamaury@a1c6a512-1295-4272-9138-f99709370657>
Thu, 9 Jun 2011 09:39:21 +0000 (9 09:39 +0000)
tree604b0fc1ba24f58f639c70bb76670a69296df43c
parent792094f1e5e6978ed8c9082e3d81e87122a8c17d
sbtools: always check the result of getenv against NULL, use strcasecmp instead of strcmp more greater flexibility
Thanks TheLemonMan for spotting that.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29989 a1c6a512-1295-4272-9138-f99709370657
utils/sbtools/elftosb.c
utils/sbtools/sbtoelf.c