diff options
author | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-10 19:56:16 +0000 |
---|---|---|
committer | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-10 19:56:16 +0000 |
commit | 20b5056315d7dc9f4cf9d4c2d85a351cbbee7b5a (patch) | |
tree | 3cfa697a12cad45672d1589f90ea83080e0c0eb5 /src/encrypt.c | |
parent | d66e92852961586d4c7884507871244ec96c22ee (diff) |
changed the source argument of enc_decrypt to const
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2744 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/encrypt.c')
-rw-r--r-- | src/encrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encrypt.c b/src/encrypt.c index 628079297..29a63e54e 100644 --- a/src/encrypt.c +++ b/src/encrypt.c @@ -50,7 +50,7 @@ int enc_encrypt_in_place(std::string &buf) * allow decryption, and -1 if another failure occurred (e.g. destination * buffer too small). **/ -int enc_decrypt(std::string &src, std::string &dest) +int enc_decrypt(const std::string &src, std::string &dest) { size_t pos = src.find(":"); if (pos == std::string::npos) |