[Evolution-hackers] no debug in pas-backend-ldap.c



hello,

I am trying to fix bug 

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=244622

I got the debian source packet, inserted[1] some printf in file
pas-backend-ldap.c, but nothing comes at the console!!!!!

Any hint? 

(I suppose I should use the camel_debug variable...)

thanks a lot!!!

Stan.


[1]: 

func_is(struct _ESExp *f, int argc, struct _ESExpResult **argv, void
*data)
{
	PASBackendLDAPSExpData *ldap_data = data;
	ESExpResult *r;

	printf("Coucou! \n");

	if (argc == 2
	    && argv[0]->type == ESEXP_RES_STRING
	    && argv[1]->type == ESEXP_RES_STRING) {
		char *propname = argv[0]->value.string;
		char *str = rfc2254_escape(argv[1]->value.string);
		char *ldap_attr = query_prop_to_ldap(propname);

		if (ldap_attr)
			ldap_data->list = g_list_prepend(ldap_data->list,
							 g_strdup_printf("(%s=%s)",
									 ldap_attr, str));
		else {
			g_warning ("unknown query property\n");
			/* we want something that'll always be false */
			ldap_data->list = g_list_prepend(ldap_data->list,
							 g_strdup("objectClass=MyBarnIsBiggerThanYourBarn"));
		}

		g_free (str);
	}

	r = e_sexp_result_new(f, ESEXP_RES_BOOL);
	r->value.bool = FALSE;

	return r;
}
-- 
------
join me at spinte jabber org
GPG: CBAC 1C79 D133 D3D7 247D  D723 FCF9 AEB9 BC4F 5802
------

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=



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