From: Michael Tremer Date: Sat, 29 Oct 2022 13:11:48 +0000 (+0000) Subject: writer: Fix typo in signature variable X-Git-Tag: 0.9.16~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=354674e7e847179ea359a71689718b47ee6706e3;p=location%2Flibloc.git writer: Fix typo in signature variable Signed-off-by: Michael Tremer --- diff --git a/src/writer.c b/src/writer.c index b52f74f..beffcf2 100644 --- a/src/writer.c +++ b/src/writer.c @@ -747,7 +747,7 @@ LOC_EXPORT int loc_writer_write(struct loc_writer* writer, FILE* f, enum loc_dat if (writer->signature2_length) { DEBUG(writer->ctx, "Copying second signature of %zu byte(s)\n", - writer->signature1_length); + writer->signature2_length); memcpy(header.signature2, writer->signature2, writer->signature2_length); header.signature2_length = htobe16(writer->signature2_length);