summaryrefslogtreecommitdiff
path: root/source3/python/py_tdbpack.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-05-09 12:43:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:50 -0500
commit3c181a88c6c03cde3d6abb917c656bbe6be8a130 (patch)
tree25959680a7e24eb8f9856c7735c597dfcb264157 /source3/python/py_tdbpack.c
parent08355754151b2d02b2102bc76e94b63ffffdf408 (diff)
downloadsamba-3c181a88c6c03cde3d6abb917c656bbe6be8a130.tar.gz
samba-3c181a88c6c03cde3d6abb917c656bbe6be8a130.tar.bz2
samba-3c181a88c6c03cde3d6abb917c656bbe6be8a130.zip
r6678: fix python python after talloc() shakeup
(This used to be commit f629bffb1a6b8c2ea54fcfe33865b43559abbc77)
Diffstat (limited to 'source3/python/py_tdbpack.c')
-rw-r--r--source3/python/py_tdbpack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/python/py_tdbpack.c b/source3/python/py_tdbpack.c
index 4fa97af8a3..a71ce7cf4e 100644
--- a/source3/python/py_tdbpack.c
+++ b/source3/python/py_tdbpack.c
@@ -441,13 +441,14 @@ static void pack_le_uint32(unsigned long val_long, unsigned char *pbuf)
}
+#if 0 /* not used */
static void pack_bytes(long len, const char *from,
unsigned char **pbuf)
{
memcpy(*pbuf, from, len);
(*pbuf) += len;
}
-
+#endif
static PyObject *