X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/4c36ddbeecdde407c870109d70527640ca127ace..cad2bba7d809c9f385fd8b85959c09c5e687edb5:/util.c diff --git a/util.c b/util.c index b95e0b45..6470bf97 100644 --- a/util.c +++ b/util.c @@ -553,3 +553,9 @@ int slprintf(char *str, int n, char *format, ...) return ret; } + +void *Realloc(void *p, int size) +{ + if (!p) return (void *)malloc(size); + return (void *)realloc(p, size); +}