aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-09-02 11:10:49 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-09-02 11:10:49 +0300
commite27a9d5f173f7626c576dbb2cd4c2f373edc847b (patch)
tree75e551e26e29f5d76e3e1496a072a5edd49d1610 /src/main.c
parent8dc46c9a698401f43a315e49c84851ba94423d30 (diff)
downloadyou86-e27a9d5f173f7626c576dbb2cd4c2f373edc847b.tar
you86-e27a9d5f173f7626c576dbb2cd4c2f373edc847b.tar.gz
you86-e27a9d5f173f7626c576dbb2cd4c2f373edc847b.zip
(1) Updated some formatting and naming
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
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))