commit | 081d6d4380968dcbe90f66e31ba51ecce100998a | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Mon Feb 20 16:31:44 2006 +0000 |
committer | Rob Landley <rob@landley.net> | Mon Feb 20 16:31:44 2006 +0000 |
tree | 5210a3650324d0093bca21b9755d58b04ba220ce | |
parent | b4ec339ac2959b2ec7d403be96efe026b0386ace [diff] |
getdomainname() isn't guaranteed to null terminate the string if it was truncated for length. SVN 14135 made sure that the truncated version would always be null terminated. SVN 14144 broke this for no readily apparent reason, and I have no idea what it was even trying to accomplish. Reverted.