2011-04-21 13:53:27 +00:00
|
|
|
src/encoding/encoding.c | 2 +-
|
|
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
2007-08-09 08:54:04 +00:00
|
|
|
|
2011-04-21 13:53:27 +00:00
|
|
|
diff --git a/src/encoding/encoding.c b/src/encoding/encoding.c
|
|
|
|
index d019dab..9648da3 100644
|
|
|
|
--- a/src/encoding/encoding.c
|
|
|
|
+++ b/src/encoding/encoding.c
|
2013-02-25 14:38:03 +00:00
|
|
|
@@ -124,7 +124,7 @@ open_encoded(int fd, enum stream_encoding encoding)
|
2011-04-21 13:53:27 +00:00
|
|
|
if (!stream) return NULL;
|
|
|
|
|
|
|
|
stream->encoding = encoding;
|
2007-08-09 08:54:04 +00:00
|
|
|
- if (decoding_backends[stream->encoding]->open(stream, fd) >= 0)
|
|
|
|
+ if ((decoding_backends[stream->encoding]->open)(stream, fd) >= 0)
|
2011-04-21 13:53:27 +00:00
|
|
|
return stream;
|
|
|
|
|
|
|
|
mem_free(stream);
|