Skip to content

Commit

Permalink
Merge pull request #669 from Pamazok/bugfix/fix-0c4-abend-in-update-d…
Browse files Browse the repository at this point in the history
…ataset

Extend slh max size to avoid 0C4 ABENDs
  • Loading branch information
1000TurquoisePogs authored Nov 28, 2023
2 parents 26e2f87 + 8edc2a8 commit 5bc2894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/datasetjson.c
Original file line number Diff line number Diff line change
Expand Up @@ -1575,7 +1575,7 @@ void updateDataset(HttpResponse* response, char* absolutePath, int jsonMode) {

if(returnCode == 0) {
int blockSize = 0x10000;
int maxBlockCount = (translationLength*2)/blockSize;
int maxBlockCount = (translationLength*4)/blockSize;
if (!maxBlockCount){
maxBlockCount = 0x10;
}
Expand Down

0 comments on commit 5bc2894

Please sign in to comment.