summaryrefslogtreecommitdiff
path: root/source4/nbt_server
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-09-14 23:21:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:06:46 -0500
commit9a012df08ee829c1d40fc88ba12a0ea479f60be0 (patch)
tree98fc38abc69111d06d29b0f7c57a5f3372bdcbed /source4/nbt_server
parent6f37a17d4a66c67de974cec14ebdf627114a397e (diff)
downloadsamba-9a012df08ee829c1d40fc88ba12a0ea479f60be0.tar.gz
samba-9a012df08ee829c1d40fc88ba12a0ea479f60be0.tar.bz2
samba-9a012df08ee829c1d40fc88ba12a0ea479f60be0.zip
r25175: Change to talloc_asprintf_append_buffer().
Jeremy. (This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)
Diffstat (limited to 'source4/nbt_server')
-rw-r--r--source4/nbt_server/wins/wins_hook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/nbt_server/wins/wins_hook.c b/source4/nbt_server/wins/wins_hook.c
index e89e6b8d26..090621d890 100644
--- a/source4/nbt_server/wins/wins_hook.c
+++ b/source4/nbt_server/wins/wins_hook.c
@@ -67,7 +67,7 @@ void wins_hook(struct winsdb_handle *h, const struct winsdb_record *rec,
if (!cmd) goto failed;
for (i=0; rec->addresses[i]; i++) {
- cmd = talloc_asprintf_append(cmd, " %s", rec->addresses[i]->address);
+ cmd = talloc_asprintf_append_buffer(cmd, " %s", rec->addresses[i]->address);
if (!cmd) goto failed;
}