- switch(param_gethex_to_eol(argstr->sval[0], 0, data, maxdatalen, datalen)) {
+ *datalen = 0;
+ if (!argstr->count)
+ return 0;
+
+ char buf[256] = {0};
+ int ibuf = 0;
+
+ for (int i = 0; i < argstr->count; i++) {
+ int len = strlen(argstr->sval[i]);
+ memcpy(&buf[ibuf], argstr->sval[i], len);
+ ibuf += len;
+ }
+ buf[ibuf] = 0;
+
+ if (!ibuf)
+ return 0;
+
+ switch(param_gethex_to_eol(buf, 0, data, maxdatalen, datalen)) {