fix count error when converting dap attributes

This commit is contained in:
Dennis Heimbigner 2011-10-04 17:50:42 +00:00
parent 7b47adf3a1
commit 42a2d2aa17
2 changed files with 5 additions and 4 deletions

8
cf
View File

@ -2,7 +2,7 @@
#X="-x"
#HDF5=1
#DAP=1
DAP=1
#CDMR=1
#RPC=1
@ -11,13 +11,13 @@
#NB=1
#cmds=""
cmds=""
#cmds="all"
cmds="all check"
#cmds="all check"
#cmds="all dist"
#cmds="all distcheck"
PREFIX="/tmp/install/${HOST}"
PREFIX="/tmp/${HOST}"
stddir="/share/ed/local/${HOST}"
CPPFLAGS=""

View File

@ -251,6 +251,7 @@ dapcvtattrval3(nc_type etype, void* dst, NClist* src)
case NC_STRING: case NC_URL: {
char** p = (char**)dstmem;
*p = nulldup(s);
ok = 1;
} break;
default:
PANIC1("unexpected nc_type: %d",(int)etype);