don't write too long cache path

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1635 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Stefan Sayer 17 years ago
parent 817d4d8f31
commit a49a07e649

@ -89,7 +89,7 @@ void AmZRTP::freeSession(zrtp_conn_ctx_t* zrtp_session) {
}
void zrtp_get_cache_path(char *path, uint32_t length) {
sprintf(path, "%s", AmZRTP::cache_path.c_str());
snprintf(path, length, "%s", AmZRTP::cache_path.c_str());
}

Loading…
Cancel
Save