Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkRivers committed May 1, 2016
1 parent 86bda0e commit 2bbdd0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ADApp/pluginSrc/NDFileHDF5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1850,6 +1850,7 @@ NDFileHDF5::NDFileHDF5(const char *portName, int queueSize, int blockingCallback
this->performanceBuf = NULL;
this->performancePtr = NULL;
this->numPerformancePoints = 0;

this->hostname = (char*)calloc(MAXHOSTNAMELEN, sizeof(char));
gethostname(this->hostname, MAXHOSTNAMELEN);
}
Expand Down Expand Up @@ -2180,7 +2181,7 @@ asynStatus NDFileHDF5::createAttributeDataset()
hdfAttrNode->chunk[1] = MAX_ATTRIBUTE_STRING_SIZE;
hdfAttrNode->hdfrank = 2;
break;

case hdf5::CString:
hdfAttrNode->hdfdatatype = H5Tcopy(H5T_C_S1);
H5Tset_size(hdfAttrNode->hdfdatatype, MAX_ATTRIBUTE_STRING_SIZE);
Expand Down

0 comments on commit 2bbdd0c

Please sign in to comment.