diff options
Diffstat (limited to 'src/HostNames.c')
-rw-r--r-- | src/HostNames.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HostNames.c b/src/HostNames.c index c09437d..961c7d5 100644 --- a/src/HostNames.c +++ b/src/HostNames.c @@ -94,7 +94,7 @@ void HTTPDExtra_CollateHostData(void) GetHostName(thisdata, HOSTDATALENGTH); - thisdata[HOSTDATALENGTH+1] = 0; + thisdata[HOSTDATALENGTH] = 0; #ifdef CCTK_MPI /* Work out how many processes there are. */ |