Revision 1173 branches/threaded2/src/linad99/thread_stuff.cpp

thread_stuff.cpp (revision 1173)
1791 1791
  verify_id_string_from_master("ST",sno);
1792 1792
  int sz;
1793 1793
  readbuffer(&sz,sizeof(int),sno);
1794
  char * s = new char(sz); ;
1794
  char * s = new char(sz+1); ;
1795 1795
  readbuffer(s,sz,sno);
1796 1796
  s[sz] = '\0';
1797 1797
  adstring x(s);
1798 1798
  delete [] s;  
1799
  return adstring(x);
1799
  return x;
1800 1800
}

Also available in: Unified diff