I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 5966fcf5 authored by jrandom's avatar jrandom Committed by zzz
Browse files

2005-12-04 TLorD

    * Patch for the C SAM library to null terminate strings on copy (thanks!)
parent fbd7feee
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,7 @@ void string_copy(string_t src,string_t dest) {
void string_copy_raw(string_t src, void* dest,size_t size) {
size = min(src->size,size);
memcpy(dest,src->data,size);
((char*)dest)[size] = '\0';
}
const char* string_data(string_t self) {
......
$Id: history.txt,v 1.345 2005/12/03 22:18:09 jrandom Exp $
$Id: history.txt,v 1.346 2005/12/04 15:02:25 jrandom Exp $
2005-12-04 TLorD
* Patch for the C SAM library to null terminate strings on copy (thanks!)
2005-12-04 jrandom
* Bugfix in Syndie for a problem in the threaded indexer (thanks CofE!)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment