]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Typo fix in error case: we probably wanted to call sprintf() not sprint()
authorBrion Vibber <brion@pobox.com>
Sun, 30 Aug 2009 21:22:43 +0000 (18:22 -0300)
committerCraig Andrews <candrews@integralblue.com>
Tue, 1 Sep 2009 22:02:03 +0000 (18:02 -0400)
lib/twitter.php

index 4fff58fd20bc8d373f98f632b9c75ceebe1215cf..2d2b08f7301d08a7f133f0dd36985989d35fd874 100644 (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);