]> andersk Git - openssh.git/blobdiff - sshconnect.c
- deraadt@cvs.openbsd.org 2006/03/20 18:42:27
[openssh.git] / sshconnect.c
index 9d1c8593c8fb0d1b213b755fc1fd8762610954c7..33961e4dc169e264846726e03c15bfc19af8c25e 100644 (file)
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: sshconnect.c,v 1.176 2006/02/22 00:04:45 stevesk Exp $");
 
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
 
 #include <ctype.h>
+#ifdef HAVE_PATHS_H
 #include <paths.h>
+#endif
 
 #include "ssh.h"
 #include "xmalloc.h"
@@ -926,7 +927,7 @@ ssh_login(Sensitive *sensitive, const char *orighost,
        host = xstrdup(orighost);
        for (cp = host; *cp; cp++)
                if (isupper(*cp))
-                       *cp = tolower(*cp);
+                       *cp = (char)tolower(*cp);
 
        /* Exchange protocol version identification strings with the server. */
        ssh_exchange_identification();
This page took 0.048401 seconds and 4 git commands to generate.