readability and 64 bit changes
This commit is contained in:
+2
-2
@@ -3,8 +3,8 @@ SESMANOBJ = sesman.o ../common/os_calls.o ../common/d3des.o
|
||||
|
||||
CFLAGS = -Wall -O2 -I../common
|
||||
LDFLAGS = -L /usr/gnu/lib
|
||||
LIBS = -lpam_userpass -lcrypto -lpthread
|
||||
PAMLIB = /lib/libpam.so.0
|
||||
LIBS = -lpam_userpass -lcrypto -lpthread -lpam
|
||||
PAMLIB =
|
||||
CC = gcc
|
||||
|
||||
all: sesman
|
||||
|
||||
+2
-1
@@ -307,7 +307,8 @@ int start_session(int width, int height, int bpp, char* username,
|
||||
else if (xpid == 0) // child
|
||||
{
|
||||
execlp("Xvnc", "Xvnc", screen, "-geometry", geometry,
|
||||
"-depth", depth, "-bs", "-rfbauth", passwd_file, NULL);
|
||||
"-depth", depth, "-bs", "-rfbauth", passwd_file,
|
||||
NULL);
|
||||
// should not get here
|
||||
g_printf("error\n");
|
||||
_exit(0);
|
||||
|
||||
Reference in New Issue
Block a user