bucoord: Don't malloc(0) if there's no work to do
authorSimon Wilkinson <sxw@your-file-system.com>
Sat, 31 Mar 2012 18:37:04 +0000 (14:37 -0400)
committerDerrick Brashear <shadow@dementix.org>
Mon, 9 Apr 2012 01:20:55 +0000 (18:20 -0700)
commit8d497e575c85979c7107a0a1efd6bc75ac1d391f
tree23f4fea6aaf4ac24775af1a9a78439f3458b5ede
parent54ca22a905c65e0544ce17c74fd59073f46b8c9f
bucoord: Don't malloc(0) if there's no work to do

If there's no work to do, then don't attempt to malloc 0 bytes, and
just return success to the user

Change-Id: I060852a247acb8309c75f3670577561b5a9af591
Reviewed-on: http://gerrit.openafs.org/7099
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/bucoord/dump.c