This commit is contained in:
parent
3d0d4ca891
commit
9ac1db3cf6
2 changed files with 3 additions and 3 deletions
|
|
@ -13,9 +13,9 @@ unsigned int crc32(void* input, unsigned int len) {
|
|||
i = 0;
|
||||
crc = 0xFFFFFFFF;
|
||||
while(i < len) {
|
||||
byte = message[i]; // Get next byte.
|
||||
byte = message[i]; /* Get next byte. */
|
||||
crc = crc ^ byte;
|
||||
for(j = 7; j >= 0; j--) { // Do eight times.
|
||||
for(j = 7; j >= 0; j--) { /* Do eight times. */
|
||||
mask = -(crc & 1);
|
||||
crc = (crc >> 1) ^ (0xEDB88320 & mask);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -223,7 +223,7 @@ void simple_body(FILE* out, const char* top, const char* title, xl_node_t* body)
|
|||
free(nodes);
|
||||
}
|
||||
|
||||
/* should this be default behavior? */
|
||||
/* TODO: should this be default behavior? */
|
||||
if(strcmp(top, "") != 0 && title != NULL) project_desc = (char*)title;
|
||||
|
||||
if((nodes = xl_get_path(skinconf->root, "copyright.year")) != NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue