diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2017-01-04 12:01:23 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2017-01-04 12:01:23 +0000 |
commit | bd178aca76a46bb45d4620c55b093d2f26f18527 (patch) | |
tree | 9979e81138725a6a9b95cbb5c707e32135319668 /lib | |
parent | 478bc15b371a688b901d1ba4a205d225862375a8 (diff) |
Revert fuse_opt.c r1.17. It broke exfat-fuse and perhaps other plugins.
http://marc.info/?l=openbsd-ports&m=148170738917809&w=2
reported by yasuoka@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libfuse/fuse_opt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libfuse/fuse_opt.c b/lib/libfuse/fuse_opt.c index 766eae7d0f9..e1c065ea703 100644 --- a/lib/libfuse/fuse_opt.c +++ b/lib/libfuse/fuse_opt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fuse_opt.c,v 1.17 2016/11/23 09:53:16 mpi Exp $ */ +/* $OpenBSD: fuse_opt.c,v 1.18 2017/01/04 12:01:22 stsp Exp $ */ /* * Copyright (c) 2013 Sylvestre Gallon <ccna.syl@gmail.com> * Copyright (c) 2013 Stefan Sperling <stsp@openbsd.org> @@ -344,7 +344,7 @@ fuse_opt_insert_arg(struct fuse_args *args, int p, const char *name) char *this_arg, *next_arg; int i; - if (name == NULL || *name == '\0') + if (name == NULL) return (-1); if (!args->allocated && alloc_argv(args)) |