Bug 525701: X-Osso-Service doesn't match Vendor.Name in application.ini [r=dougt]
authorMark Finkle <mfinkle@mozilla.com>
Sun, 01 Nov 2009 17:13:01 -0500
changeset 34450 eac3ed4a8edc3be3c18688b88d93f98f6d9c73b0
parent 34449 cbb51a5df51d3eed0ff9c4359228da137a49e209
child 34451 b6e53fe66a5369efcac80488c93c1e8a3e7105af
push idunknown
push userunknown
push dateunknown
reviewersdougt
bugs525701
milestone1.9.3a1pre
Bug 525701: X-Osso-Service doesn't match Vendor.Name in application.ini [r=dougt]
toolkit/xre/nsNativeAppSupportUnix.cpp
--- a/toolkit/xre/nsNativeAppSupportUnix.cpp
+++ b/toolkit/xre/nsNativeAppSupportUnix.cpp
@@ -307,16 +307,17 @@ nsNativeAppSupportUnix::Start(PRBool *aR
      system will happily kill your process.
   */
   nsCAutoString applicationName;
   if(gAppData->vendor) {
       applicationName.Append(gAppData->vendor);
       applicationName.Append(".");
   }
   applicationName.Append(gAppData->name);
+  ToLowerCase(applicationName);
 
   m_osso_context = osso_initialize(applicationName.get(), 
                                    gAppData->version ? gAppData->version : "1.0",
                                    PR_TRUE,
                                    nsnull);
 
   /* Check that initilialization was ok */
   if (m_osso_context == nsnull) {