Skip to content

Commit

Permalink
Commented-out superfluous log message
Browse files Browse the repository at this point in the history
  • Loading branch information
semmerson committed Dec 26, 2023
1 parent b540205 commit 62b751e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions protocol2/up6.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,14 +583,14 @@ static up6_error_t up6_run(
log_debug("End of product-queue");

if (_flushNeeded) {
(void) exitIfDone(0);

ErrorObj* errObj = flushConnection();
if (errObj) {
log_error("flushConnection() failure"); // new
errCode = logFailure("Couldn't flush connection", errObj);
break;
}
(void) exitIfDone(0);

ErrorObj* errObj = flushConnection();
if (errObj) {
// log_error("flushConnection() failure"); // new
errCode = logFailure("Couldn't flush connection", errObj);
break;
}
}

time_t timeSinceLastSend = time(NULL) - _lastSendTime;
Expand Down Expand Up @@ -635,8 +635,8 @@ static up6_error_t up6_run(
}

/*
* Destroys the upstream LDM module -- freeing resources.
* This function prints diagnostic messages via the ulog(3) module.
* Destroys the upstream LDM-6 module -- freeing resources.
* This function prints diagnostic messages via the log(3) module.
*/
static void up6_destroy(
void)
Expand Down

0 comments on commit 62b751e

Please sign in to comment.