minor fixes and indent
This commit is contained in:
parent
5603962061
commit
8c73bc31cb
@ -44,7 +44,7 @@ env_check_password_file(char* filename, char* password)
|
|||||||
rfbDesKey(g_fixedkey, 0);
|
rfbDesKey(g_fixedkey, 0);
|
||||||
rfbDes((unsigned char*)encryptedPasswd, (unsigned char*)encryptedPasswd);
|
rfbDes((unsigned char*)encryptedPasswd, (unsigned char*)encryptedPasswd);
|
||||||
fd = g_file_open(filename);
|
fd = g_file_open(filename);
|
||||||
if (fd == 0)
|
if (fd == -1)
|
||||||
{
|
{
|
||||||
log_message(LOG_LEVEL_WARNING, "can't read vnc password file - %s",
|
log_message(LOG_LEVEL_WARNING, "can't read vnc password file - %s",
|
||||||
filename);
|
filename);
|
||||||
|
@ -41,7 +41,7 @@ extern int thread_sck;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
static void DEFAULT_CC
|
static void DEFAULT_CC
|
||||||
sesman_main_loop()
|
sesman_main_loop(void)
|
||||||
{
|
{
|
||||||
int in_sck;
|
int in_sck;
|
||||||
int error;
|
int error;
|
||||||
|
@ -39,7 +39,7 @@ int thread_sck;
|
|||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
int DEFAULT_CC
|
int DEFAULT_CC
|
||||||
thread_sighandler_start()
|
thread_sighandler_start(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
sigset_t sigmask;
|
sigset_t sigmask;
|
||||||
@ -93,7 +93,7 @@ thread_sighandler_start()
|
|||||||
#ifdef JUST_TO_AVOID_COMPILER_ERRORS
|
#ifdef JUST_TO_AVOID_COMPILER_ERRORS
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
int DEFAULT_CC
|
int DEFAULT_CC
|
||||||
thread_session_update_start()
|
thread_session_update_start(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
//starts the session update thread
|
//starts the session update thread
|
||||||
|
Loading…
Reference in New Issue
Block a user