Skip to content

Commit

Permalink
Remove TODOs
Browse files Browse the repository at this point in the history
Signed-off-by: 1000TurquoisePogs <[email protected]>
  • Loading branch information
1000TurquoisePogs authored Mar 28, 2024
1 parent f337aaa commit 89c07fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions c/json.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,12 @@ void jsonWriteBufferInternal(jsonPrinter *p, char *text, int len) {
#endif
loopCount++;
if (newWriteReturn < 0) {
/* TODO: Replace by zowelog(...) */
zowelog(NULL, LOG_COMP_JSON, ZOWE_LOG_SEVERE, "JSON: write error, rc %d, return code %d, reason code %08X\n",
newWriteReturn, returnCode, reasonCode);
jsonSetIOErrorFlag(p);
break;
}
if (loopCount > 10) {
/* TODO: Replace by zowelog(...) */
zowelog(NULL, LOG_COMP_JSON, ZOWE_LOG_SEVERE, "JSON: write error, too many attempts\n");
jsonSetIOErrorFlag(p);
break;
Expand Down

0 comments on commit 89c07fe

Please sign in to comment.