[Bug 853] New: mnl_socket_open() doc lists incorrect return type

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Wed Sep 25 15:58:04 CEST 2013


https://bugzilla.netfilter.org/show_bug.cgi?id=853

           Summary: mnl_socket_open() doc lists incorrect return type
           Product: libmnl
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: libmnl
        AssignedTo: pablo at netfilter.org
        ReportedBy: josh at jj88.org
   Estimated Hours: 0.0


The documentation for the mnl_socket_open function states "On error, it returns
-1 and errno is appropriately set [...]".

This is incorrect - it should state "On error, it returns NULL and errno is
appropriately set [...]".

Here's the relevant documentation:
http://www.netfilter.org/projects/libmnl/doxygen/group__socket.html#ga42882c0136d45b99e743fedbdcfdae9b

-- 
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the netfilter-buglog mailing list