shared/util: Fix glob_extend() argument
authorBastien Nocera <hadess@hadess.net>
Mon, 14 Oct 2013 06:15:51 +0000 (08:15 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 14 Oct 2013 14:11:33 +0000 (10:11 -0400)
commita8ccacf5344c4434b1d5ff3837307acb8fcf93d2
treefa3243bfc43194e1f1d1319bad065a47279496cd
parent71fda00f320379f5cbee8e118848de98caaa229d
shared/util: Fix glob_extend() argument

glob_extend() would completely fail to work, or return incorrect
data if it wasn't being passed the current getopt "optarg" variable
as it used the global variable, instead of the passed parameters.
src/shared/util.c