Typo fix in error case: we probably wanted to call sprintf() not sprint()

This commit is contained in:
Brion Vibber 2009-08-30 18:22:43 -03:00 committed by Craig Andrews
parent 4c812bf8a9
commit f949c2c9d9
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ function broadcast_twitter($notice)
// This could represent a failure posting,
// or the Twitter API might just be behaving flakey.
$errmsg = sprint('No data returned by Twitter API when ' .
$errmsg = sprintf('No data returned by Twitter API when ' .
'trying to send update for %1$s (user id %2$s).',
$user->nickname, $user->id);
common_log(LOG_WARNING, $errmsg);