Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Notes for those among you, who don't bother reading docs:
will be installed along-side your ircd!
* Run bantool after each upgrade to ensure your database is in a current format.
Failure to do so will result in weird, unexplained crashes.
* Its is _highly_ recommended that you `make clean` or even better `make distclean`
* It is _highly_ recommended that you `make clean` or even better `make distclean`
in your current source tree before running `./configure`


Expand Down
2 changes: 1 addition & 1 deletion libratbox/include/rb_tools.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ rb_strndup(const char *x, size_t y)
if(rb_unlikely(ret == NULL))
rb_outofmemory();
ret[len] = '\0';
return memcpy(ret, y, len);
return memcpy(ret, x, len);
#else
ret = strndup(x, y);
if(rb_unlikely(ret == NULL))
Expand Down
2 changes: 2 additions & 0 deletions src/sslproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,8 @@ ssl_process_cmd_recv(ssl_ctl_t * ctl)
ircd_ssl_ok = false;
ilog(L_MAIN, "%s", cannot_setup_ssl);
sendto_realops_flags(UMODE_ALL, L_ALL, "%s", cannot_setup_ssl);
ssl_killall();
return;
case 'U':
zlib_ok = false;
ircd_ssl_ok = false;
Expand Down