procd: Fix minor null pointer dereference.
authorRosen Penev <rosenp@gmail.com>
Mon, 25 Dec 2017 22:52:20 +0000 (14:52 -0800)
committerHans Dedecker <dedeckeh@gmail.com>
Thu, 4 Jan 2018 10:16:15 +0000 (11:16 +0100)
commit188353099cf6fc88f145cfcb84a4db3f6523528a
tree7669ce86a58c2f73392d90963d6a4ee8068a40aa
parent9085551922c2000e15b5a7ada8154fbfe17c70af
procd: Fix minor null pointer dereference.

Null pointer check was placed after assigning values to c.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
plug/hotplug.c