mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +00:00
Fix typo in comment and sort includes.
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@594 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
62a9253384
commit
744d73fe90
11
src/ftp.c
11
src/ftp.c
@ -10,11 +10,12 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <netdb.h>
|
||||
#include <resolv.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <netdb.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "ftp.h"
|
||||
|
||||
@ -193,7 +194,7 @@ int checkFtpResponse(void)
|
||||
}
|
||||
|
||||
/*
|
||||
* Send the user authentification
|
||||
* Send the user authentication
|
||||
*/
|
||||
|
||||
int sendUser(void)
|
||||
@ -213,7 +214,7 @@ int sendUser(void)
|
||||
}
|
||||
|
||||
/*
|
||||
* Send the password authentification
|
||||
* Send the password authentication
|
||||
*/
|
||||
|
||||
int sendPasswd(void)
|
||||
@ -261,7 +262,7 @@ int connectFtp(const char *server, int port)
|
||||
int res;
|
||||
|
||||
/*
|
||||
* do the blocking DNS query.
|
||||
* Do the blocking DNS query.
|
||||
*/
|
||||
hp = gethostbyname(server);
|
||||
if (hp == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user