Commit f5025cc5 f5025cc599c4bfa39618d94de2e02018cf26d65f by Sergey Poznyakoff

Fixed _get_fd methods

1 parent 9e721937
......@@ -235,9 +235,13 @@ _mapfile_flush (stream_t stream)
}
static int
_mapfile_get_fd (stream_t stream, int *pfd)
_mapfile_get_fd (stream_t stream, int *pfd, int *pfd2)
{
struct _mapfile_stream *mfs = stream_get_owner (stream);
if (pfd2)
return ENOSYS;
if (pfd)
*pfd = mfs->fd;
return 0;
......