summaryrefslogtreecommitdiff
path: root/source4/lib/dprintf.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-06-01 10:16:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:22 -0500
commite4a505192d23c7d77a6ee68e6e2946bab983ae43 (patch)
tree80f37f7689bb54fc81838ca1d973abdb0d5e90d2 /source4/lib/dprintf.c
parentb2b886e38b4dcf1ec509b040340a5b0377fa143a (diff)
downloadsamba-e4a505192d23c7d77a6ee68e6e2946bab983ae43.tar.gz
samba-e4a505192d23c7d77a6ee68e6e2946bab983ae43.tar.bz2
samba-e4a505192d23c7d77a6ee68e6e2946bab983ae43.zip
r7166: Move replacement stuff to seperate directory
(easier to add win32-specific bits later) Trim LIBBASIC a bit more (This used to be commit fc7f519e4ae2051e9515df5f549c8e1842b7e70b)
Diffstat (limited to 'source4/lib/dprintf.c')
-rw-r--r--source4/lib/dprintf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/lib/dprintf.c b/source4/lib/dprintf.c
index 5538c490ce..6653fa4242 100644
--- a/source4/lib/dprintf.c
+++ b/source4/lib/dprintf.c
@@ -38,16 +38,10 @@ int d_vfprintf(FILE *f, const char *format, va_list ap) _PRINTF_ATTRIBUTE(2,0)
char *msgstr;
va_list ap2;
- /* do any message translations */
- msgstr = lang_msg(format);
- if (!msgstr) return -1;
-
VA_COPY(ap2, ap);
ret = vasprintf(&p, msgstr, ap2);
- lang_msg_free(msgstr);
-
if (ret <= 0) return ret;
/* now we have the string in unix format, convert it to the display