diff --git a/test/message_cli.c b/test/message_cli.c index bf69a67..6fedbf0 100644 --- a/test/message_cli.c +++ b/test/message_cli.c @@ -20,8 +20,8 @@ void displayHeader() { void displayAllMessages(uid_t userID) { char userDir[256]; - // sprintf(userDir, "/djumbai/user/%d/mailbox", userID); // Construct user directory path - sprintf(userDir, "/mnt/e/Desktop/CSI/djumbai/test/%d/mailbox", userID); // TODO MUDAR ESTE PATH + sprintf(userDir, "/djumbai/user/%d/mailbox", userID); // Construct user directory path + // sprintf(userDir, "/mnt/e/Desktop/CSI/djumbai/test/%d/mailbox", userID); // TODO MUDAR ESTE PATH DIR *dir; struct dirent *entry; @@ -150,7 +150,7 @@ int main() { uid_t senderID = atoi(sender); char userDir[256]; - sprintf(userDir, "/mnt/e/Desktop/CSI/djumbai/test/%d/mailbox/%d", getuid(), senderID); // TODO MUDAR PATH AQUI + sprintf(userDir, "/djumbai/user/%d/mailbox/%d", getuid(), senderID); displayMessagesFromSender(userDir); break;