minor fixes and indent

ulab-original
jsorg71 19 years ago
parent 5603962061
commit 8c73bc31cb

@ -44,7 +44,7 @@ env_check_password_file(char* filename, char* password)
rfbDesKey(g_fixedkey, 0);
rfbDes((unsigned char*)encryptedPasswd, (unsigned char*)encryptedPasswd);
fd = g_file_open(filename);
if (fd == 0)
if (fd == -1)
{
log_message(LOG_LEVEL_WARNING, "can't read vnc password file - %s",
filename);

@ -41,7 +41,7 @@ extern int thread_sck;
*
*/
static void DEFAULT_CC
sesman_main_loop()
sesman_main_loop(void)
{
int in_sck;
int error;

@ -39,7 +39,7 @@ int thread_sck;
/******************************************************************************/
int DEFAULT_CC
thread_sighandler_start()
thread_sighandler_start(void)
{
int ret;
sigset_t sigmask;
@ -93,7 +93,7 @@ thread_sighandler_start()
#ifdef JUST_TO_AVOID_COMPILER_ERRORS
/******************************************************************************/
int DEFAULT_CC
thread_session_update_start()
thread_session_update_start(void)
{
int ret;
//starts the session update thread

Loading…
Cancel
Save