diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2012-01-15 20:21:50 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2012-01-20 12:10:23 +0100 |
commit | d44f61b583a112e23a9af405968b11514979fedf (patch) | |
tree | bbb3332087374d1c59d99bbbe0f2f3213508096c /src/libpiano/crypt.h | |
parent | 9a380af719b0cdb599eaf86323bd7ca9a0526482 (diff) | |
download | pianobar-d44f61b583a112e23a9af405968b11514979fedf.tar.gz pianobar-d44f61b583a112e23a9af405968b11514979fedf.tar.bz2 pianobar-d44f61b583a112e23a9af405968b11514979fedf.zip |
piano: Make sync response parser NUL-byte aware
Fixes #207
Diffstat (limited to 'src/libpiano/crypt.h')
-rw-r--r-- | src/libpiano/crypt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libpiano/crypt.h b/src/libpiano/crypt.h index 6b2fb96..945e9e6 100644 --- a/src/libpiano/crypt.h +++ b/src/libpiano/crypt.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2008-2010 +Copyright (c) 2008-2011 Lars-Dominik Braun <lars@6xq.net> Permission is hereby granted, free of charge, to any person obtaining a copy @@ -24,7 +24,7 @@ THE SOFTWARE. #ifndef _CRYPH_H #define _CRYPT_H -char *PianoDecryptString (const char *strInput); +char *PianoDecryptString (const char * const, size_t * const); char *PianoEncryptString (const char *strInput); #endif /* _CRYPT_H */ |