From e27a9d5f173f7626c576dbb2cd4c2f373edc847b Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 2 Sep 2021 11:10:49 +0300 Subject: (1) Updated some formatting and naming --- src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 303efea..5697352 100644 --- a/src/main.c +++ b/src/main.c @@ -23,9 +23,9 @@ int main() { printf("Welcome!\n\n"); do { // Removes the Line Feed character at the "end", if it exists - char *toChange = strchr(buffer, 0x0A); - if (toChange != NULL) - toChange[0] = 0; + char *p_toChange = strchr(buffer, 0x0A); + if (p_toChange != NULL) + p_toChange[0] = 0; if (buffer[0] > 0) if (route(buffer)) -- cgit v1.2.3