ehlo,
I was analysing log files for unrelated problem and I had to convert decimal number to hexidecimalt to compare type in debug message in function be_get_account_info. BE_REQ_* numbers are defined as hexadecimal in header file src/providers/data_provider.h
Simple patch is attached.
LS
#define BE_REQ_USER 0x0001 #define BE_REQ_GROUP 0x0002 #define BE_REQ_INITGROUPS 0x0003
On 10/01/2014 10:57 PM, Lukas Slebodnik wrote:
"Got request for [%u][%d][%s]\n", type, attr_type, filter);
"Got request for [%#x][%d][%s]\n", type, attr_type, filter);
What about padding the output with zeros same way as the header file?
+ "Got request for [%#.4x][%d][%s]\n", type, attr_type, filter);
But this is not really import for me. I'm ACKing the patch as is.
On Mon, Oct 06, 2014 at 04:25:03PM +0200, Pavel Reichl wrote:
#define BE_REQ_USER 0x0001 #define BE_REQ_GROUP 0x0002 #define BE_REQ_INITGROUPS 0x0003
On 10/01/2014 10:57 PM, Lukas Slebodnik wrote:
"Got request for [%u][%d][%s]\n", type, attr_type, filter);
"Got request for [%#x][%d][%s]\n", type, attr_type, filter);
What about padding the output with zeros same way as the header file?
- "Got request for [%#.4x][%d][%s]\n", type, attr_type, filter);
But this is not really import for me. I'm ACKing the patch as is.
* master: 0433376c464da45753b3444b14f984f79cc3d770
sssd-devel@lists.fedorahosted.org