fix imap-send for OSX
This patch works... I've been using it to stay current. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
c8e2db00f9
commit
6169858d19
@ -372,7 +372,7 @@ free_generic_messages( message_t *msgs )
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
vasprintf( char **strp, const char *fmt, va_list ap )
|
git_vasprintf( char **strp, const char *fmt, va_list ap )
|
||||||
{
|
{
|
||||||
int len;
|
int len;
|
||||||
char tmp[1024];
|
char tmp[1024];
|
||||||
@ -402,7 +402,7 @@ nfsnprintf( char *buf, int blen, const char *fmt, ... )
|
|||||||
static int
|
static int
|
||||||
nfvasprintf( char **str, const char *fmt, va_list va )
|
nfvasprintf( char **str, const char *fmt, va_list va )
|
||||||
{
|
{
|
||||||
int ret = vasprintf( str, fmt, va );
|
int ret = git_vasprintf( str, fmt, va );
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
die( "Fatal: Out of memory\n");
|
die( "Fatal: Out of memory\n");
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user