Completed the Authtoken Validate Service changes.
This commit is contained in:
@@ -251,7 +251,7 @@ ProcessConnection(int connSock)
|
||||
//=======================================================================--
|
||||
{
|
||||
char userName[] = "CasaPrincipal";
|
||||
char token[4096] = {0};
|
||||
char token[8192] = {0};
|
||||
char helloString[100] = {0};
|
||||
AppUserData appUserData = {userName, token};
|
||||
struct pam_conv conv = {Converse, &appUserData};
|
||||
@@ -389,7 +389,7 @@ ExecuteTests(void)
|
||||
(struct sockaddr*) &boundAddr,
|
||||
&addrLen) != SOCKET_ERROR)
|
||||
{
|
||||
printf("Listen port = %d\n", boundAddr.sin_port);
|
||||
printf("Listen port = %d\n", htons(boundAddr.sin_port));
|
||||
|
||||
// Now start linstening for connections
|
||||
if (listen(listenSock, SOMAXCONN) != SOCKET_ERROR)
|
||||
|
||||
Reference in New Issue
Block a user