summaryrefslogtreecommitdiff
path: root/plugins/Variables/parse_inet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Variables/parse_inet.cpp')
-rw-r--r--plugins/Variables/parse_inet.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Variables/parse_inet.cpp b/plugins/Variables/parse_inet.cpp
index 9d97b5d1f7..21938b21ad 100644
--- a/plugins/Variables/parse_inet.cpp
+++ b/plugins/Variables/parse_inet.cpp
@@ -29,11 +29,9 @@ static TCHAR *parseUrlEnc(ARGUMENTSINFO *ai) {
if (ai->argc != 2) {
return NULL;
}
-#ifdef UNICODE
+
res = u2a(ai->targv[1]);
-#else
- res = _strdup(ai->argv[1]);
-#endif
+
if (res == NULL) {
return NULL;
}