summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index c13a3ea80..bd815e055 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -19249,7 +19249,7 @@ void clif_rodex_open_write_mail(int fd, const char *receiver_name, int8 result)
WFIFOHEAD(fd, sizeof(*sPacket));
sPacket = WFIFOP(fd, 0);
sPacket->PacketType = rodexopenwrite;
- strncpy(sPacket->receiveName, receiver_name, NAME_LENGTH);
+ safestrncpy(sPacket->receiveName, receiver_name, NAME_LENGTH);
sPacket->result = result;
WFIFOSET(fd, sizeof(*sPacket));
#endif