summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Twitter/src/proto.cpp')
-rw-r--r--protocols/Twitter/src/proto.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/protocols/Twitter/src/proto.cpp b/protocols/Twitter/src/proto.cpp
index b2e1bf021f..f90f6b504c 100644
--- a/protocols/Twitter/src/proto.cpp
+++ b/protocols/Twitter/src/proto.cpp
@@ -15,6 +15,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "stdafx.h"
#include "proto.h"
#include "utility.h"
@@ -22,13 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "ui.h"
#include "oauth.dev.h"
-#include "m_folders.h"
-
-#include <algorithm>
-#include <cstdio>
-#include <ctime>
-#include <direct.h>
-
static volatile LONG g_msgid = 1;
TwitterProto::TwitterProto(const char *proto_name,const TCHAR *username) :
@@ -69,7 +63,7 @@ TwitterProto::TwitterProto(const char *proto_name,const TCHAR *username) :
ConsumerKey = OAUTH_CONSUMER_KEY;
ConsumerSecret = OAUTH_CONSUMER_SECRET;
- AuthorizeUrl = _T("http://api.twitter.com/oauth/authorize?oauth_token=%s");
+ AuthorizeUrl = _T("https://api.twitter.com/oauth/authorize?oauth_token=%s");
}
TwitterProto::~TwitterProto()