Fix caspermock - the cap_recv_nvlist should return nvlist.

This commit is contained in:
Mariusz Zaborski 2018-01-27 22:53:29 +00:00
parent f45de90e55
commit 90b809116a

View File

@ -232,7 +232,7 @@ int cap_send_nvlist(const cap_channel_t *chan, const nvlist_t *nvl);
#ifdef WITH_CASPER
nvlist_t *cap_recv_nvlist(const cap_channel_t *chan, int flags);
#else
#define cap_recv_nvlist(chan, flags) (0)
#define cap_recv_nvlist(chan, flags) (nvlist_create(flags))
#endif
/*