From bcf77eb9035d2eb288b9f850cfa3c9bc222a662e Mon Sep 17 00:00:00 2001 From: Dmitry Vagin Date: Tue, 23 Oct 2012 20:15:08 -0700 Subject: [PATCH] posix: mark inet_ntop as nullable Fixes bug 678988. --- vapi/posix.vapi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vapi/posix.vapi b/vapi/posix.vapi index dc3cade69..e6a284219 100644 --- a/vapi/posix.vapi +++ b/vapi/posix.vapi @@ -353,7 +353,7 @@ namespace Posix { [CCode (cheader_filename = "arpa/inet.h")] public unowned string inet_ntoa (InAddr addr); [CCode (cheader_filename = "arpa/inet.h")] - public unowned string inet_ntop (int af, void* src, uint8[] dst); + public unowned string? inet_ntop (int af, void* src, uint8[] dst); [CCode (cheader_filename = "arpa/inet.h")] public int inet_pton (int af, string src, void* dst); [CCode (cheader_filename = "arpa/inet.h")] -- 2.47.2