Skip to content
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.

Commit

Permalink
sock: setting userid to char instead of unsigned char
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy committed Jan 31, 2016
1 parent 0c4cc29 commit abd4407
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions plugin-ruby.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,6 @@ static int proxenet_ruby_initialize_function(plugin_t* plugin, req_t type)
{
int err;

/* checks */
if (!plugin->name) {
xlog_ruby(LOG_ERROR, "%s\n", "null plugin name");
return -1;
}

/* get function ID */
switch(type) {
case REQUEST:
Expand Down
2 changes: 1 addition & 1 deletion socks.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static int send_socks4_connect(sock_t socks_fd, char *ip_str, int port)
static int send_socks4a_connect(sock_t socks_fd, char *hostname, int port)
{
unsigned char socks_request[SOCKS_REQUEST_MAXLEN]={0,};
unsigned char userid[64] = {0,};
char userid[64] = {0,};
size_t len = 0;
int n;

Expand Down

0 comments on commit abd4407

Please sign in to comment.