]> granicus.if.org Git - libnl/commit
nl: improve nl_sendto() docs and error checks
authorThomas Graf <tgraf@redhat.com>
Tue, 6 Nov 2012 16:48:28 +0000 (17:48 +0100)
committerThomas Graf <tgraf@redhat.com>
Tue, 6 Nov 2012 16:48:28 +0000 (17:48 +0100)
commit8f47501741afa27c405648a2005a6e6acc4b69a9
treed9dd8437dbd68577e192a12fc448395b039009a1
parentb25f26b896de785b9aecf871222d1762de800dbc
nl: improve nl_sendto() docs and error checks

Make nl_sendto() return NLE_INVAL if provided buffer is NULL
and make it return NLE_BAD_SOCK if the socket is not connected.

Add note in docs about lack of NL_CB_MSG_OUT invokation
lib/nl.c