summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-11 12:33:00 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-11 12:33:00 +0000
commit6152b8455859dcb85cdd64933aadeafefdd8c938 (patch)
treeca2ebe9b89c35c319ee18015528121b99167abe1 /source3
parentc9991fa1bfa16b3f272fcecd44922e0d4bba2d50 (diff)
downloadsamba-6152b8455859dcb85cdd64933aadeafefdd8c938.tar.gz
samba-6152b8455859dcb85cdd64933aadeafefdd8c938.tar.bz2
samba-6152b8455859dcb85cdd64933aadeafefdd8c938.zip
While the usage is most bisarre, this fixes up another fstring/pstring mixup.
(In this case, an fstrcpy() into a pstring, ie harmless). Andrew Bartlett (This used to be commit 7b92d26d479dbc0923484967936511cfc645c5f4)
Diffstat (limited to 'source3')
-rw-r--r--source3/wrepld/process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/wrepld/process.c b/source3/wrepld/process.c
index aca0500614..1f96dc996c 100644
--- a/source3/wrepld/process.c
+++ b/source3/wrepld/process.c
@@ -498,7 +498,8 @@ static void send_entry_request(GENERIC_PACKET *q, GENERIC_PACKET *r)
for (kbuf = tdb_firstkey(tdb);
kbuf.dptr;
newkey = tdb_nextkey(tdb, kbuf), safe_free(kbuf.dptr), kbuf=newkey) {
- pstring name_type, name, ip_str;
+ fstring name_type;
+ pstring name, ip_str;
char *p;
int type = 0;
int nb_flags;