Created
July 21, 2011 19:39
-
-
Save tochiz/1098008 to your computer and use it in GitHub Desktop.
promenade.c diff file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/promenade.c b/promenade.c | |
index 7d82a15..e37ed06 100644 | |
--- a/promenade.c | |
+++ b/promenade.c | |
@@ -592,8 +594,11 @@ static void dosession(TCMPOOL *mpool){ | |
if(dbputart(tdb, p_id, cols)){ | |
if(*g_updatecmd != '\0' && | |
!doupdatecmd(mpool, "comment", p_scripturl, p_user, now, p_id, cols, ocols)) | |
+ { | |
tclistprintf(emsgs, "The update command was failed."); | |
+ } else { | |
+ twitter_post(owner, text); | |
+ } | |
} else { | |
setdberrmsg(emsgs, tdb, "Storing the article was failed."); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment