diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-23 21:33:43 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-23 21:33:43 +0000 |
commit | cefcc0426613cc761373e785980c87c77f8a8cb5 (patch) | |
tree | e64653268bcb93fc50bf23d22e38799c5bb31adc /src/htsftp.h | |
parent | 6ba50a2001bcfa1b467f69985a002fc064d8c807 (diff) |
"const correctness" cleanup
added the following default flags:
-Wformat
-Wformat-security
-Wmultichar
-Wwrite-strings
fixed several other warnings
Diffstat (limited to 'src/htsftp.h')
-rw-r--r-- | src/htsftp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htsftp.h b/src/htsftp.h index de2a9c5..ef6fca7 100644 --- a/src/htsftp.h +++ b/src/htsftp.h @@ -68,7 +68,7 @@ int back_launch_ftp(FTPDownloadStruct * params); #endif int run_launch_ftp(FTPDownloadStruct * params); -int send_line(T_SOC soc, char *data); +int send_line(T_SOC soc, const char *data); int get_ftp_line(T_SOC soc, char *line, size_t line_size, int timeout); T_SOC get_datasocket(char *to_send, size_t to_send_size); int stop_ftp(lien_back * back); |