- snprintf(new->path, sizeof(new->path), "%s", path);
- snprintf(new->user, sizeof(new->user), "%s", user);
- snprintf(new->pass, sizeof(new->user), "%s", new_pass);
+ new->path = strcpy(dest_path, path);
+ new->user = strcpy(dest_user, user);
+ new->pass = strcpy(dest_pass, new_pass);