ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-4/src/io/DumpReader.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-4/src/io/DumpReader.cpp (file contents):
Revision 1883 by tim, Mon Dec 13 22:30:27 2004 UTC vs.
Revision 1884 by tim, Tue Dec 14 19:08:44 2004 UTC

# Line 333 | Line 333 | void DumpReader::readSet(int whichFrame) {
333                  mol = info_->getMoleculeByGlobalIndex(i);
334  
335                  if (mol == NULL) {
336 <                    strcpy(painCave.errMsg, "Molecule not found on node %d!", worldRank);
336 >                    sprintf(painCave.errMsg, "Molecule not found on node %d!", worldRank);
337                          painCave.isFatal = 1;
338                      simError();
339                  }
# Line 400 | Line 400 | void DumpReader::readSet(int whichFrame) {
400                  
401                  mol = info_->getMoleculeByGlobalIndex(i);
402                  if (mol == NULL) {
403 <                    strcpy(painCave.errMsg, "Molecule not found on node %d!", worldRank);
403 >                    sprintf(painCave.errMsg, "Molecule not found on node %d!", worldRank);
404                      painCave.isFatal = 1;
405                      simError();
406                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines