svn commit: samba r23083 - in
branches/SAMBA_3_0_25/source/tdb/tools: .
herb at samba.org
herb at samba.org
Tue May 22 21:52:35 GMT 2007
Author: herb
Date: 2007-05-22 21:52:34 +0000 (Tue, 22 May 2007)
New Revision: 23083
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23083
Log:
fix structure to match smb.h - this is really bad having this defined
in multiple places.
Modified:
branches/SAMBA_3_0_25/source/tdb/tools/tdbtool.c
Changeset:
Modified: branches/SAMBA_3_0_25/source/tdb/tools/tdbtool.c
===================================================================
--- branches/SAMBA_3_0_25/source/tdb/tools/tdbtool.c 2007-05-22 21:17:31 UTC (rev 23082)
+++ branches/SAMBA_3_0_25/source/tdb/tools/tdbtool.c 2007-05-22 21:52:34 UTC (rev 23083)
@@ -116,7 +116,7 @@
int cnum;
uid_t uid;
gid_t gid;
- char name[24];
+ char servicename[FSTRING_LEN];
char addr[24];
char machine[FSTRING_LEN];
time_t start;
@@ -373,7 +373,7 @@
printf( "\ndata %d bytes\n", (int)dbuf.dsize);
printf( "pid =%5d ", ((connections_data*)dbuf.dptr)->pid);
printf( "cnum =%10d ", ((connections_data*)dbuf.dptr)->cnum);
- printf( "name =[%s]\n", ((connections_data*)dbuf.dptr)->name);
+ printf( "name =[%s]\n", ((connections_data*)dbuf.dptr)->servicename);
printf( "uid =%5d ", ((connections_data*)dbuf.dptr)->uid);
printf( "addr =[%s]\n", ((connections_data*)dbuf.dptr)->addr);
More information about the samba-cvs
mailing list