[SSSD] [PATCH] set struct bet_info->bet_type

Pavel Březina pbrezina at redhat.com
Thu Jan 17 16:54:29 UTC 2013


I noticed that struct bet_info->bet_type is unused.

Instead of removing it, this patch makes sure that the field is set.

It might be helpful during debugging to get the idea of what be_info 
index belong to what backend.

e.g. gdb> p be_ctx->be_info
..., {bet_type = BET_ID, bet_ops = 0x7fbb91ea97a0, pvt_bet_data = 
0x1ed00e0, mod_name = 0x1ed21b0 "ipa"}, ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-set-struct-bet_info-bet_type.patch
Type: text/x-patch
Size: 860 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20130117/cdf5243c/attachment.bin>


More information about the sssd-devel mailing list