|
From: <kin...@us...> - 2025-09-30 18:11:31
|
Revision: 7546
http://sourceforge.net/p/teem/code/7546
Author: kindlmann
Date: 2025-09-30 18:11:30 +0000 (Tue, 30 Sep 2025)
Log Message:
-----------
if (kvpLen) was not a sensible test: hest is asked get 1 or more strings; instead should be like the test used for all the other options similarly parsed as 1 or more strings
Modified Paths:
--------------
teem/trunk/src/unrrdu/make.c
Modified: teem/trunk/src/unrrdu/make.c
===================================================================
--- teem/trunk/src/unrrdu/make.c 2025-09-30 18:04:33 UTC (rev 7545)
+++ teem/trunk/src/unrrdu/make.c 2025-09-30 18:11:30 UTC (rev 7546)
@@ -421,7 +421,7 @@
if (airStrlen(content)) {
nrrd->content = airStrdup(content);
}
- if (kvpLen) {
+ if (airStrlen(kvp[0])) {
for (ii = 0; ii < kvpLen; ii++) {
/* a hack: have to use NrrdIoState->line as the channel to communicate
the key/value pair, since we have to emulate it having been
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|