1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-27 20:41:54 +03:00

Removed unnecessary casts and added const where necessary.

This commit is contained in:
Dan Fandrich
2007-08-09 01:10:11 +00:00
parent 17173aab0e
commit c4630d1ffb
14 changed files with 66 additions and 66 deletions

View File

@@ -1,5 +1,5 @@
/*
* $Id: sftp_mkdir_nonblock.c,v 1.8 2007/07/31 11:00:29 bagder Exp $
* $Id: sftp_mkdir_nonblock.c,v 1.9 2007/08/09 01:10:11 dfandrich Exp $
*
* Sample showing how to do SFTP non-blocking mkdir.
*
@@ -42,9 +42,9 @@ int main(int argc, char *argv[])
struct sockaddr_in sin;
const char *fingerprint;
LIBSSH2_SESSION *session;
char *username=(char *)"username";
char *password=(char *)"password";
char *sftppath=(char *)"/tmp/sftp_mkdir_nonblock";
const char *username="username";
const char *password="password";
const char *sftppath="/tmp/sftp_mkdir_nonblock";
int rc;
LIBSSH2_SFTP *sftp_session;