libafscp: Actually return callback from FindCallback
authorSimon Wilkinson <sxw@your-file-system.com>
Tue, 19 Feb 2013 17:53:11 +0000 (17:53 +0000)
committerDerrick Brashear <shadow@your-file-system.com>
Fri, 22 Feb 2013 21:03:44 +0000 (13:03 -0800)
commitf67e4a3cdfb1856e31dda0d4741c8d34df13f8fc
tree94cba4299ae38a25eea523843deb84fbe58edee8
parent86c7369ffadecb0666f75c87469370b66132877f
libafscp: Actually return callback from FindCallback

Fix FindCallback so that it actually returns the callback that it
found. This requires changing the function prototype so that the
third parameter is passed by reference, and updating the single
call site.

Caught by clang-analyzer

Change-Id: I420647e9cfd119cf1a26456a91d595b8154ddd85
Reviewed-on: http://gerrit.openafs.org/9198
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/libafscp/afscp.h
src/libafscp/afscp_callback.c
src/libafscp/afscp_fid.c