1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-20 22:50:26 +03:00

removed some bogus debug lines

(This used to be ctdb commit 25aa579058ecd2a33b13b4c1d6c7c75427bbdafa)
This commit is contained in:
Andrew Tridgell 2007-04-26 18:31:13 +02:00
parent 4a01ec9035
commit fc43701cbb
2 changed files with 2 additions and 11 deletions

View File

@ -124,8 +124,6 @@ void ctdb_reply_control(struct ctdb_context *ctdb, struct ctdb_req_header *hdr)
data.dptr = &c->data[0];
data.dsize = c->datalen;
DEBUG(0,("data.dsize=%u\n", data.dsize));
state->callback(ctdb, c->status, data, state->private_data);
talloc_free(state);
}

View File

@ -564,12 +564,12 @@ static void ctdb_daemon_read_cb(uint8_t *data, size_t cnt, void *args)
client->ctdb->status.client_packets_recv++;
if (cnt < sizeof(*hdr)) {
ctdb_set_error(client->ctdb, "Bad packet length %d in daemon\n", cnt);
ctdb_set_error(client->ctdb, "Bad packet length %u in daemon\n", cnt);
return;
}
hdr = (struct ctdb_req_header *)data;
if (cnt != hdr->length) {
ctdb_set_error(client->ctdb, "Bad header length %d expected %d\n in daemon",
ctdb_set_error(client->ctdb, "Bad header length %u expected %u\n in daemon",
hdr->length, cnt);
return;
}
@ -773,13 +773,6 @@ static void daemon_control_callback(struct ctdb_context *ctdb,
struct ctdb_reply_control *r;
size_t len;
DEBUG(0,("callback: size=%u\n", data.dsize));
DEBUG(0,("callback: size=%u\n", data.dsize));
DEBUG(0,("callback: size=%u\n", data.dsize));
DEBUG(0,("callback: size=%u\n", data.dsize));
DEBUG(0,("callback: size=%u\n", data.dsize));
DEBUG(0,("callback: size=%u\n", data.dsize));
/* construct a message to send to the client containing the data */
len = offsetof(struct ctdb_req_control, data) + data.dsize;
r = ctdbd_allocate_pkt(client, len);