summaryrefslogtreecommitdiff
path: root/functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'functions.c')
-rw-r--r--functions.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/functions.c b/functions.c
index c6bea40..1d7d7d6 100644
--- a/functions.c
+++ b/functions.c
@@ -66,7 +66,6 @@ void stripprefix(char *string) {
// Copy the old string into a new one, but...
for (size_t i = 1; i < strlen(string); i++) {
- printf("i: %zd. strlen: %zd.\n", i, strlen(string));
string2[i - 1] = string[i];
}
@@ -98,7 +97,6 @@ void extractfinalparameter(char *string) {
// Find the colon
for (size_t i = 0; i < strlen(string); i++) {
- printf("i: %zd. strlen: %zd.\n", i, strlen(string));
if (string[i] == ':') {
printf("Found colon at position %zd!\n", i);
colonpos = i;
@@ -114,7 +112,6 @@ void extractfinalparameter(char *string) {
// Build a new string starting from the next position after the colon
int counter = 0;
for (size_t i = colonpos + 1; i < strlen(string); i++) {
- printf("i: %zd. strlen: %zd.\n", i, strlen(string));
string2[counter] = string[i];
counter++;
}
@@ -144,7 +141,6 @@ void extractnickfromprefix(char *string) {
// Find the bang
for (size_t i = 0; i < strlen(string); i++) {
- printf("i: %zd. strlen: %zd.\n", i, strlen(string));
if (string[i] == '!') {
printf("Found bang at position %zd!\n", i);
bangpos = i;