]> code.citadel.org Git - citadel.git/blobdiff - textclient/client_chat.c
Poking around in the text client to determine whether we can remove dependency on...
[citadel.git] / textclient / client_chat.c
index 1339d0e61b703eab311ebfb1c7ffcdce51d701a6..55ccb9b4da98932fe44c924178f303695bdc6b00 100644 (file)
@@ -153,7 +153,7 @@ void chatmode(CtdlIPC *ipc) {
                                } else {
                                        size_t i = MIN(sizeof buf - 1, strlen(c_user) + 2);
                                        memset(buf, ' ', i);
-                                       safestrncpy(&buf[i], c_text, sizeof buf - i);
+                                       strncpy(&buf[i], c_text, sizeof buf - i);
                                }
                                while (strlen(buf) < 79) {
                                        strcat(buf, " ");