[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Fri Mar 5 09:08:34 MST 2010
The branch, master has been updated
via fce6e1d... s3: Make "smbcontrol xx debuglevel" print the correct cluster pid
from 91ff11d... s4-spoolss: fix dcesrv_spoolss_GetPrinterData build.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit fce6e1def8539f1516827118d0cf10a12d1d91a0
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 5 17:06:08 2010 +0100
s3: Make "smbcontrol xx debuglevel" print the correct cluster pid
-----------------------------------------------------------------------
Summary of changes:
source3/utils/smbcontrol.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index 5645386..e97d554 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -109,8 +109,12 @@ static void print_pid_string_cb(struct messaging_context *msg,
struct server_id pid,
DATA_BLOB *data)
{
- printf("PID %u: %.*s", (unsigned int)procid_to_pid(&pid),
- (int)data->length, (const char *)data->data);
+ char *pidstr;
+
+ pidstr = procid_str(talloc_tos(), &pid);
+ printf("PID %s: %.*s", pidstr, (int)data->length,
+ (const char *)data->data);
+ TALLOC_FREE(pidstr);
num_replies++;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list