aboutsummaryrefslogtreecommitdiff
path: root/src/storage.c
diff options
context:
space:
mode:
authorSoikk2022-05-14 14:06:19 +0200
committerSoikk2022-05-14 14:06:19 +0200
commitb4cbd484955ec54bdc66ff0a5108707c029810f9 (patch)
treeb30678cfe0c3988b6e66497e84818ca100215e73 /src/storage.c
parent58f3ce95b6d9da5418b7ed8613f35b1089a3446a (diff)
parent1b7112cd1a6ebbd47a2220dc779e8924b9ffa9cc (diff)
downloadsoikk-DB-b4cbd484955ec54bdc66ff0a5108707c029810f9.tar.xz
soikk-DB-b4cbd484955ec54bdc66ff0a5108707c029810f9.tar.zst
Merge branch 'master' of https://github.com/Soikk/DB
Diffstat (limited to 'src/storage.c')
-rw-r--r--src/storage.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/storage.c b/src/storage.c
index c9dc5d0..9b66132 100644
--- a/src/storage.c
+++ b/src/storage.c
@@ -2,7 +2,6 @@
row *newRow(const char path[MAXPATH]){
- printf("len: %d\n", len(path));
row *nr = malloc(sizeof(row));
memcpy(nr->path, path, len(path));
nr->numTags = 0;
@@ -105,7 +104,6 @@ void insertTag(row *r, char *tag){
i = 0;
break;
case 0:
- printf("'%s' == '%s'\n", arr[i-1], arr[i]);
// The tag already exists, no need to alter anything
free(arr);
return;
@@ -168,4 +166,4 @@ void removeTag(row *r, char *tag){
r->tags[tagnum] = '\0';
r->numTags = l;
r->lenTags = tagnum;
-} \ No newline at end of file
+}