]> git.michaelhowe.org Git - packages/o/openafs.git/commit
viced: Catch GetCellInfo failure
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 22 Feb 2013 10:20:58 +0000 (10:20 +0000)
committerStephan Wiesand <stephan.wiesand@desy.de>
Fri, 22 Mar 2013 23:51:21 +0000 (16:51 -0700)
commite33bdad36bb96a2477f1511d82b597113919a11a
treeab01c35c6493369dcc06b46673c571b22018e3d9
parent86c3a3b7ea14e06bd89eaccab51da12a9b7ed2a3
viced: Catch GetCellInfo failure

If GetCellInfo returns a non-zero result, catch the error, rather
than just carrying on regardless.

Caught by clang-analyzer

Reviewed-on: http://gerrit.openafs.org/9240
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit 1d1ba5f74102ae703ef657aa19150729edfe6ab2)

Change-Id: I205b32a3e38faeae8e06bad3dc615ba01f0626d8
Reviewed-on: http://gerrit.openafs.org/9533
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/viced/viced.c