do {
newfloor = (-1);
- safestrncpy(floorstr, floorlist[rfloor], sizeof floorstr);
+ strncpy(floorstr, floorlist[rfloor], sizeof floorstr);
strprompt("Which floor", floorstr, 255);
for (a = 0; a < 128; ++a) {
if (!strcasecmp(floorstr, &floorlist[a][0]))
/* Fetch the name of the current room admin */
r = CtdlIPCGetRoomAide(ipc, buf);
if (r / 100 == 2) {
- safestrncpy(room_admin_name, buf, sizeof room_admin_name);
+ strncpy(room_admin_name, buf, sizeof room_admin_name);
} else {
strcpy(room_admin_name, "");
}
if (r / 100 != 2) {
scr_printf("%s\n", buf);
}
- safestrncpy(buf, uglist[found], sizeof(buf));
+ strncpy(buf, uglist[found], sizeof(buf));
/* we queue ungoto information here, because we're not really
ungotoing, we're really going to a random spot in some arbitrary
room list. */
if (r / 100 != 2) {
scr_printf("%s\n", buf);
}
- safestrncpy(buf, uglist[uglistsize - 1], sizeof(buf));
+ strncpy(buf, uglist[uglistsize - 1], sizeof(buf));
uglistsize--;
free(uglist[uglistsize]);
/* Don't queue ungoto info or we end up in a loop */
/* Name of currernt room admin */
r = CtdlIPCGetRoomAide(ipc, buf);
if (r / 100 == 2)
- safestrncpy(room_admin_name, buf, sizeof room_admin_name);
+ strncpy(room_admin_name, buf, sizeof room_admin_name);
else
strcpy(room_admin_name, "");