From 8251e7ac030a2e0dba7b773f873b98c9364da0f9 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 5 May 2017 09:47:15 -0400 Subject: [PATCH] fix uridecode(password) to uridecode(value) --- src/zms.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zms.cpp b/src/zms.cpp index c32b9affd..ab2060a7f 100644 --- a/src/zms.cpp +++ b/src/zms.cpp @@ -180,11 +180,11 @@ int main( int argc, const char *argv[] ) { if ( !strcmp( name, "user" ) ) { - username = UriDecode(value); + username = UriDecode( value ); } if ( !strcmp( name, "pass" ) ) { - password = UriDecode( password ); + password = UriDecode( value ); } } }