diff options
Diffstat (limited to 'plugins/groupwise-features')
-rw-r--r-- | plugins/groupwise-features/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/groupwise-features/proxy.c | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog index 8c129b5d1b..d0ceb35323 100644 --- a/plugins/groupwise-features/ChangeLog +++ b/plugins/groupwise-features/ChangeLog @@ -1,3 +1,8 @@ +2005-08-11 Veerapuram Varadhan <vvaradhan@novell.com> + + * proxy.c: + (proxy_commit) : Check "prd" for NULL, ALWAYS. + 2005-08-10 Sankar P <psankar@novell.com> * proxy.c : diff --git a/plugins/groupwise-features/proxy.c b/plugins/groupwise-features/proxy.c index f338d904a3..ab48483dc8 100644 --- a/plugins/groupwise-features/proxy.c +++ b/plugins/groupwise-features/proxy.c @@ -537,10 +537,13 @@ proxy_commit (GtkWidget *button, EConfigHookItemFactoryData *data) target_account = (EMConfigTargetAccount *)data->config->target; account = target_account->account; prd = g_object_get_data ((GObject *)account, "prd"); + + /* In case of non-GroupWise preferences edit, "prd" will be NULL. */ + if (!prd || !prd->priv || !prd->priv->proxy_list) + return; + priv = prd->priv; list_iter = priv->proxy_list; - if (prd == NULL || list_iter == NULL) - return; for (;list_iter; list_iter = g_list_next (list_iter)) { aclInstance = (proxyHandler *) list_iter->data; |