Revision: 41728
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41728&view=rev
Author:   davidloman
Date:     2010-12-20 19:50:27 +0000 (Mon, 20 Dec 2010)

Log Message:
-----------
Fix the cmd line client.  Was converting captured command and all args to lower 
case, which was messing up things like account Authentication.  Made it so that 
only the cmd is converted to lower case.

Modified Paths:
--------------
    rt^3/trunk/src/GS/GSClient.cxx

Modified: rt^3/trunk/src/GS/GSClient.cxx
===================================================================
--- rt^3/trunk/src/GS/GSClient.cxx      2010-12-20 19:42:50 UTC (rev 41727)
+++ rt^3/trunk/src/GS/GSClient.cxx      2010-12-20 19:50:27 UTC (rev 41728)
@@ -124,9 +124,6 @@
                if (qin.length() == 0)
                        continue;
 
-               /* convert to lowercase */
-               qin = qin.toLower();
-
            /* split string */
                QStringList list = qin.split(" ");
 
@@ -134,8 +131,10 @@
                if (list.length() <= 0) {
                        continue;
                }
-               QString cmd = list.takeFirst();
 
+               /* convert to lowercase */
+               QString cmd = list.takeFirst().toLower();
+
                this->execCmd(cmd, list);
        }
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to