From 1aae9925858c9463e166045e01ea591986a93375 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 19 Oct 2014 23:42:38 +0200 Subject: stream: stupid compilation workaround for win32 On win32, open() is a function-like macro. The line of code changed with this commit accidentally expanded the macro. Prevent this macro expansion. Not sure why that happened now. Since as far as I remember system functions can be defined as macros, this affects in theory not only win32. --- stream/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream') diff --git a/stream/stream.c b/stream/stream.c index 8a3d981809..61519bf012 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -312,7 +312,7 @@ static int open_internal(const stream_info_t *sinfo, struct stream *underlying, } } - int r = sinfo->open(s); + int r = (sinfo->open)(s); if (r != STREAM_OK) { talloc_free(s); return r; -- cgit v1.2.3