afs: Add assertion to afs_cb_result_handler().
authorAndre Noll <maan@systemlinux.org>
Tue, 1 Jan 2013 23:20:04 +0000 (23:20 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 10 Feb 2013 14:27:53 +0000 (15:27 +0100)
commit62085ae46037adde1c3ef326b340e5af8eb7cadb
treec60c5126b4976d213e7c83896557dcb83de35de0
parent1157d98d10d047c3fd8d2361e05650398ae11f59
afs: Add assertion to afs_cb_result_handler().

If cc is NULL we always have a bug, so it's OK to dereference this
pointer unconditionally. However, if the command handler crashes
due to cc being NULL, it is not obvious what has happened, so make
this explicit.
afs.c