summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-08-30 18:22:43 -0300
committerCraig Andrews <candrews@integralblue.com>2009-09-01 18:02:03 -0400
commitf949c2c9d9afa63496f26b33d0309f8d06f77520 (patch)
tree5a7722e29f2f25122012422a402ecd499e45cd28 /lib
parent4c812bf8a983f18da99b558d7159ccb58e27422e (diff)
Typo fix in error case: we probably wanted to call sprintf() not sprint()
Diffstat (limited to 'lib')
-rw-r--r--lib/twitter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/twitter.php b/lib/twitter.php
index 4fff58fd2..2d2b08f73 100644
--- a/lib/twitter.php
+++ b/lib/twitter.php
@@ -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);