15 lines
407 B
C
15 lines
407 B
C
$NetBSD: patch-src_fuseops.c,v 1.1 2014/11/26 22:29:32 thomasklausner Exp $
|
|
|
|
--- src/fuseops.c.orig 2014-05-14 19:48:45.000000000 +0000
|
|
+++ src/fuseops.c
|
|
@@ -361,7 +361,8 @@ static int mp3fs_release(const char *pat
|
|
|
|
/* We need synchronous reads. */
|
|
static void *mp3fs_init(struct fuse_conn_info *conn) {
|
|
- conn->async_read = 0;
|
|
+ if (conn)
|
|
+ conn->async_read = 0;
|
|
|
|
return NULL;
|
|
}
|