From: Randal L. Schwartz Date: Wed, 15 Mar 2006 23:35:06 +0000 (-0800) Subject: fix imap-send for OSX X-Git-Tag: v1.3.0-rc1~21^2~4 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=6169858d19b0ee01a549d83f222c097549968d66;p=git.git fix imap-send for OSX This patch works... I've been using it to stay current. Signed-off-by: Junio C Hamano --- diff --git a/imap-send.c b/imap-send.c index 1b38b3af..e33c78bf 100644 --- a/imap-send.c +++ b/imap-send.c @@ -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]; @@ -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;