BUGFIX when checking ly_errno, it must be initiated to LY_SUCCESS
BUGFIX when checking ly_errno, it must be initiated to LY_SUCCESS

Fixes #58

PavolVican/libyang,PavolVican/libyang,PavolVican/libyang,lukasmacko/libyang,lukasmacko/libyang,PavolVican/libyang,PavolVican/libyang