From d44f61b583a112e23a9af405968b11514979fedf Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 15 Jan 2012 20:21:50 +0100 Subject: piano: Make sync response parser NUL-byte aware Fixes #207 --- src/libpiano/crypt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libpiano/crypt.h') 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 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 */ -- cgit v1.2.3