Commit 798bbf15 authored by bonnell's avatar bonnell
Browse files

Fix 'change username' crash on Windows.

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@5766 18c085ea-50e0-402c-830e-de6fd14e8384
parent 9f83eadf
......@@ -21,6 +21,7 @@
<li>A bug was fixed with the Windows installer so that it correctly set the chosen network configuration files.<li>
<li>The help files have been made available once again for the windows platform.</li>
<li>Silex no longer crashes on start up on Windows.</li>
<li>The 'change username' option in the password window on Widnows no longer crashes.</li>
<li>Host profiles for LLNL's hera system have been added.</li>
<li>The host profiles for LLNL's juno system have been corrected to handle node names with 4 digits.</li>
<li>The source code was modified so that VisIt would compile with the gcc 4.3.x compilers.</li>
......
......@@ -270,7 +270,7 @@ main(int argc, char *argv[])
// Run the command on the remote machine.
bool keepTrying = true;
while (keepTrying)
while (keepTrying)
{
try
{
......@@ -281,9 +281,9 @@ main(int argc, char *argv[])
catch(DoUsernameWindow)
{
const char *n = graphicalGetUsername(host);
namelen = strlen(n) +1;
if (n != NULL)
{
namelen = strlen(n) +1;
if (!shouldDeleteUsername)
{
username = new char[namelen];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment