aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandal L. Schwartz <merlyn@stonehenge.com>2006-03-15 15:35:06 -0800
committerJunio C Hamano <junkio@cox.net>2006-03-15 16:14:54 -0800
commit6169858d19b0ee01a549d83f222c097549968d66 (patch)
treefcd92b1e0debe80b97dbd004c4726be3c684b6a5
parentc8e2db00f9622af6e5f640443dfbe63bb1af39e0 (diff)
downloadgit-6169858d19b0ee01a549d83f222c097549968d66.tar.gz
git-6169858d19b0ee01a549d83f222c097549968d66.tar.xz
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>
-rw-r--r--imap-send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/imap-send.c b/imap-send.c
index 1b38b3af6..e33c78bff 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;