summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-03-07 20:04:50 +0100
committerOskar <[email protected]>2024-03-07 20:04:50 +0100
commit1f71f8a1e0b17260e746e86aa8b3cb3dbe42771c (patch)
tree54d19a9301f3cceaf5384e1648b4491c9908f673
parentdc5645d27a0bd59a6b4ff522b584b53cd20e173f (diff)
validate_N() is done. I removed some printf tests from the code.
-rw-r--r--input.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/input.c b/input.c
index 555485a..28c6587 100644
--- a/input.c
+++ b/input.c
@@ -164,11 +164,9 @@ int validate_N(char *smode_buf) {
if (smode_buf[1] == '+' || smode_buf[1] == '-') {
if (smode_buf[2] == '0') {
- printf("smode_buf[2] == 0 (_INVALID)\n");
return _INVALID;
}
if (smode_buf[2] == '\n') { // If its only N+ or N- then invalid
- printf("smode_buf[2] == \\n (_INVALID)\n");
return _INVALID;
}