1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

Use bool instead of int for a boolean variable

This commit is contained in:
Derrell Lipman 2009-05-10 23:04:00 -04:00
parent 9a93dc092c
commit 915518c0db

View File

@ -107,7 +107,7 @@ int smb_thread_set_functions(const struct smb_thread_functions *tf)
void smb_thread_once(smb_thread_once_t *ponce, void (*init_fn)(void))
{
int ret;
int need_func_call;
bool need_func_call;
/* Lock our "once" mutex in order to test and initialize ponce */
if ((ret = SMB_THREAD_LOCK(once_mutex, SMB_THREAD_LOCK)) != 0) {