summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2017-01-04 12:01:23 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2017-01-04 12:01:23 +0000
commitbd178aca76a46bb45d4620c55b093d2f26f18527 (patch)
tree9979e81138725a6a9b95cbb5c707e32135319668 /lib
parent478bc15b371a688b901d1ba4a205d225862375a8 (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.c4
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))