31 Mar
2005
31 Mar
'05
1:34 p.m.
On Thu, 31 Mar 2005, Peter Berg Larsen wrote:
+ memcpy( computername, hostname, len ); + computername[len + 1] = 0;
or you risk the computername[len+1] is invalid.
Hmm, why didnt I see that at once; usually mistake here. Dont you mean computername[len] = 0; Peter