Skip to content

Commit

Permalink
fix imap-send for OSX
Browse files Browse the repository at this point in the history
This patch works... I've been using it to stay current.

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Randal L. Schwartz authored and Junio C Hamano committed Mar 16, 2006
1 parent c8e2db0 commit 6169858
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imap-send.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ free_generic_messages( message_t *msgs )
}

static int
vasprintf( char **strp, const char *fmt, va_list ap )
git_vasprintf( char **strp, const char *fmt, va_list ap )
{
int len;
char tmp[1024];
Expand Down Expand Up @@ -402,7 +402,7 @@ nfsnprintf( char *buf, int blen, const char *fmt, ... )
static int
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)
die( "Fatal: Out of memory\n");
return ret;
Expand Down

0 comments on commit 6169858

Please sign in to comment.