diff svr-auth.c @ 852:7540c0822374 ecc

Various cleanups and fixes for warnings
author Matt Johnston <matt@ucc.asn.au>
date Tue, 12 Nov 2013 23:02:32 +0800
parents 4095b6d7c9fc
children 220f55d540ae
line wrap: on
line diff
--- a/svr-auth.c	Sat Nov 09 00:14:28 2013 +0800
+++ b/svr-auth.c	Tue Nov 12 23:02:32 2013 +0800
@@ -231,7 +231,7 @@
 
 	char* listshell = NULL;
 	char* usershell = NULL;
-	int   uid;
+	uid_t uid;
 	TRACE(("enter checkusername"))
 	if (userlen > MAX_USERNAME_LEN) {
 		return DROPBEAR_FAILURE;