mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-26 23:59:41 +08:00
Copy to master from devel - ready for 0.8
This commit is contained in:
1 parent
db169c48c3
commit
5287278fa5
74 files changed
+5163
-4637
No files matched your search
+1
-2
@@ -4,7 +4,6 @@
|
||||
|
||||
please read License Agreement
|
||||
|
||||
$Id: myalloc.c,v 1.5 2008/01/08 21:46:38 vlad Exp $
|
||||
*/
|
||||
|
||||
#include "proxy.h"
|
||||
@@ -333,7 +332,7 @@ void *myrealloc(void *ptr, size_t size){
|
||||
if(size <= memsizes[l]) return ptr;
|
||||
p = myalloc(size);
|
||||
if(p){
|
||||
memcpy(p,ptr,size);
|
||||
memmove(p,ptr,size);
|
||||
myfree(ptr);
|
||||
}
|
||||
return p;
|
||||
|
||||
Reference in new issue
Block a user