diff --git a/get.c b/get.c
index 7d4b488f94a65cc5d907e503b26ca9d3c68cabb1..353a9f0ef0b49cc22552d600db1da671e3d76588 100644
--- a/get.c
+++ b/get.c
@@ -25,7 +25,7 @@ void parse(char* req, char* root) {
     // printf("root %s\n", root);
     // printf("path %s\n", path);
     char full_path[sizeof(path) + sizeof(root)];
-    strncpy(full_path, root, sizeof(root));
+    strcpy(full_path, root);
     strcat(full_path, path);
     // full_path[sizeof(full_path)-1] = 9;
     printf("waiittt %s end\n", full_path);