why is there segmentation fault
void print_post(Post *post) {
    printf("From: %s\n", post->author);
    char *time = ctime(post->date);
    char print_time[26];
    strcpy(print_time, time);
    printf("Date: %s", time);
    printf("\n");
    printf("%s\n", post->contents);
}