Fix error in log msg format specifier

This commit is contained in:
Zach Copley 2009-08-29 06:20:19 +00:00
parent a0a376bf0e
commit c02e8a4687

View File

@ -194,7 +194,7 @@ function broadcast_oauth($notice, $flink) {
$errmsg = sprintf('cURL error trying to send notice to Twitter ' .
'for user %1$s (user id: %2$s) - ' .
'code: %3$s message: $4$s.',
'code: %3$s message: %4$s.',
$user->nickname, $user->id,
$e->getCode(), $e->getMessage());
common_log(LOG_WARNING, $errmsg);
@ -252,7 +252,7 @@ function broadcast_basicauth($notice, $flink)
$errmsg = sprintf('cURL error trying to send notice to Twitter ' .
'for user %1$s (user id: %2$s) - ' .
'code: %3$s message: $4$s.',
'code: %3$s message: %4$s.',
$user->nickname, $user->id,
$e->getCode(), $e->getMessage());
common_log(LOG_WARNING, $errmsg);