diff options
| author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-19 21:59:31 +0000 |
|---|---|---|
| committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-19 21:59:31 +0000 |
| commit | 7723437a81ee0858a448ad599889469c4113dd57 (patch) | |
| tree | f13ec2db84506c7767d25cd4f860e631ac94f890 /src/tools | |
| parent | 805253de3686a9710bebec05bf857974ae9a80e4 (diff) | |
Fix a few warnings. Also move split_usermask into cs_akick, as this is the only place it is used.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2119 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/anopesmtp.c | 2 | ||||
| -rw-r--r-- | src/tools/db-convert.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/tools/anopesmtp.c b/src/tools/anopesmtp.c index 80e49caa0..bf1cc68df 100644 --- a/src/tools/anopesmtp.c +++ b/src/tools/anopesmtp.c @@ -318,7 +318,7 @@ int smtp_connect(char *host, unsigned short port) /*************************************************************************/ /* Send a line of text */ -int smtp_send(char *text) +int smtp_send(const char *text) { int result = ano_sockwrite(mail.sock, text, strlen(text)); diff --git a/src/tools/db-convert.c b/src/tools/db-convert.c index 23170e5fb..5fb7bfd57 100644 --- a/src/tools/db-convert.c +++ b/src/tools/db-convert.c @@ -318,7 +318,6 @@ const std::string GetLanguageID(int id) int main(int argc, char *argv[]) { dbFILE *f; - HostCore *firsthc = NULL; std::ofstream fs; std::string hashm; @@ -816,7 +815,6 @@ int main(int argc, char *argv[]) ChannelInfo *ci; - Memo *memos; for (i = 0; i < 256; i++) { |
