]> code.citadel.org Git - citadel.git/commitdiff
If the msgnum is negative, we are looking at METADATA
authorArt Cancro <ajc@citadel.org>
Wed, 5 Apr 2023 14:27:10 +0000 (10:27 -0400)
committerArt Cancro <ajc@citadel.org>
Wed, 5 Apr 2023 14:27:10 +0000 (10:27 -0400)
citadel/utils/ctdl3264.c

index 9252bab808c35c62e8797f9c6b38d7f9cd07eca5..99404a3f42651afd82675044ad02e11c86433287 100644 (file)
@@ -113,6 +113,9 @@ void convert_msgmain(int which_cdb, DBT *key, DBT *data) {
        long msgnum;
        memcpy(&msgnum, key->data, sizeof(msgnum));
        printf("msgmain: len is %d , key is %ld\n", key->size, msgnum);
+
+       // If the msgnum is positive, we are looking at a MESSAGE
+       // If the msgnum is negative, we are looking at METADATA
 }