Skip to content

Commit

Permalink
Aligned assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
uhlin committed Feb 17, 2024
1 parent e0ab035 commit 3e0c005
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/commands/dcc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,29 +111,29 @@ dcc_get::dcc_get()
{
this->nick.assign("");
this->filename.assign("");
this->filesize = 0;
this->bytes_rem = 0;
this->fileptr = nullptr;
this->sock = INVALID_SOCKET;
this->ssl = nullptr;
this->ssl_ctx = nullptr;
this->addr = 0;
this->port = 0;
this->filesize = 0;
this->bytes_rem = 0;
this->fileptr = nullptr;
this->sock = INVALID_SOCKET;
this->ssl = nullptr;
this->ssl_ctx = nullptr;
this->addr = 0;
this->port = 0;
}

dcc_get::dcc_get(const char *p_nick, const char *p_filename,
intmax_t p_filesize, uint32_t p_addr, uint16_t p_port)
{
this->nick.assign(p_nick);
this->filename.assign(p_filename);
this->filesize = p_filesize;
this->bytes_rem = p_filesize;
this->fileptr = nullptr;
this->sock = INVALID_SOCKET;
this->ssl = nullptr;
this->ssl_ctx = nullptr;
this->addr = p_addr;
this->port = htons(p_port);
this->filesize = p_filesize;
this->bytes_rem = p_filesize;
this->fileptr = nullptr;
this->sock = INVALID_SOCKET;
this->ssl = nullptr;
this->ssl_ctx = nullptr;
this->addr = p_addr;
this->port = htons(p_port);
}

dcc_get::~dcc_get()
Expand Down

0 comments on commit 3e0c005

Please sign in to comment.