]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
posix: Fix SockAddr cname.
authorBianShaoLei <bianshaolei@gmail.com>
Thu, 2 Sep 2010 18:42:59 +0000 (11:42 -0700)
committerJürg Billeter <j@bitron.ch>
Sat, 4 Sep 2010 14:58:12 +0000 (16:58 +0200)
Fixes bug 628470.

vapi/posix.vapi

index c080d69f4138098934892ac81983aff9dcee2c2f..fef2b5c801fd5eb0c93ef4a906cc62574298d9c6 100644 (file)
@@ -1284,7 +1284,7 @@ namespace Posix {
                public uint32 s_addr;
        }
 
-       [CCode (cname = "struct sock_addr", cheader_filename = "sys/socket.h", destroy_function = "")]
+       [CCode (cname = "struct sockaddr", cheader_filename = "sys/socket.h", destroy_function = "")]
        public struct SockAddr {
        }