diff options
Diffstat (limited to 'src/modules/hs_request.c')
-rw-r--r-- | src/modules/hs_request.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/hs_request.c b/src/modules/hs_request.c index 30949d9e7..b982375db 100644 --- a/src/modules/hs_request.c +++ b/src/modules/hs_request.c @@ -826,9 +826,9 @@ void req_send_memos(User *u, char *vIdent, char *vHost) return; if (vIdent) - sprintf(host, "%s@%s", vIdent, vHost); + snprintf(host, sizeof(host), "%s@%s", vIdent, vHost); else - sprintf(host, "%s", vHost); + snprintf(host, sizeof(host), "%s", vHost); if (HSRequestMemoOper == 1) { |