Merge pull request #490 from jer-gentoo/modules-unused-buf

modules: Remove various unused char *buf
This commit is contained in:
van Hauser 2020-01-27 14:44:01 +01:00 committed by GitHub
commit 73318ff14f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 0 additions and 6 deletions

View file

@ -7,7 +7,6 @@ RFC 1459: Internet Relay Chat Protocol
*/ */
extern char *HYDRA_EXIT; extern char *HYDRA_EXIT;
char *buf;
char buffer[300] = ""; char buffer[300] = "";
int32_t myport = PORT_IRC, mysslport = PORT_IRC_SSL; int32_t myport = PORT_IRC, mysslport = PORT_IRC_SSL;

View file

@ -5,7 +5,6 @@
#define COMMAND "/bin/ls /" #define COMMAND "/bin/ls /"
extern char *HYDRA_EXIT; extern char *HYDRA_EXIT;
char *buf;
int32_t start_rexec(int32_t s, char *ip, int32_t port, unsigned char options, char *miscptr, FILE * fp) { int32_t start_rexec(int32_t s, char *ip, int32_t port, unsigned char options, char *miscptr, FILE * fp) {
char *empty = ""; char *empty = "";

View file

@ -12,7 +12,6 @@ no memleaks found on 110425
#define TERM "vt100/9600" #define TERM "vt100/9600"
extern char *HYDRA_EXIT; extern char *HYDRA_EXIT;
char *buf;
int32_t start_rlogin(int32_t s, char *ip, int32_t port, unsigned char options, char *miscptr, FILE * fp) { int32_t start_rlogin(int32_t s, char *ip, int32_t port, unsigned char options, char *miscptr, FILE * fp) {
char *empty = ""; char *empty = "";

View file

@ -11,7 +11,6 @@ no memleaks found on 110425
*/ */
extern char *HYDRA_EXIT; extern char *HYDRA_EXIT;
char *buf;
int32_t start_rsh(int32_t s, char *ip, int32_t port, unsigned char options, char *miscptr, FILE * fp) { int32_t start_rsh(int32_t s, char *ip, int32_t port, unsigned char options, char *miscptr, FILE * fp) {
char *empty = ""; char *empty = "";

View file

@ -12,7 +12,6 @@
#include "sasl.h" #include "sasl.h"
extern char *HYDRA_EXIT; extern char *HYDRA_EXIT;
char *buf;
char packet[500]; char packet[500];
char packet2[500]; char packet2[500];

View file

@ -36,7 +36,6 @@ struct team_speak {
extern int32_t hydra_data_ready_timed(int32_t socket, long sec, long usec); extern int32_t hydra_data_ready_timed(int32_t socket, long sec, long usec);
extern char *HYDRA_EXIT; extern char *HYDRA_EXIT;
char *buf;
int32_t start_teamspeak(int32_t s, char *ip, int32_t port, unsigned char options, char *miscptr, FILE * fp) { int32_t start_teamspeak(int32_t s, char *ip, int32_t port, unsigned char options, char *miscptr, FILE * fp) {
char *empty = ""; char *empty = "";