Re: [evolution-patches] Exchange Connector: Fix for 66926



On Wed, 2004-11-03 at 18:39 +0530, Sarfraaz Ahmed wrote:
> @@ -975,10 +979,18 @@ exchange_account_connect (ExchangeAccoun
>         account->priv->connecting = TRUE;
>         g_mutex_unlock (account->priv->connect_lock);
>  
> +       if (account->priv->windows_domain)
> +               user_name = g_strdup_printf ("%s\\%s",
> account->priv->windows_domain, 
> +                                                       account->priv->username);
> +       else
> +               user_name = g_strdup (account->priv->username);
> +
>         ac = e2k_autoconfig_new (account->home_uri,
>                                  account->priv->username,
>                                  NULL,
>                                  account->priv->auth_pref);
> +       g_free (user_name);
> +
>         e2k_autoconfig_set_gc_server (ac, account->priv->ad_server,

Shouldn't user_name be used in here somewhere?

-JP
-- 
JP Rosevear <jpr novell com>
Novell, Inc.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]