------------------------------------------------------------ revno: 194 revision-id: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: Andrew Tridgell <[EMAIL PROTECTED]> branch nick: tridge timestamp: Thu 2007-04-26 18:31:13 +0200 message: removed some bogus debug lines modified: common/ctdb_control.c ctdb_control.c-20070426122724-j6gkpiofhbwdin63-1 common/ctdb_daemon.c ctdb_daemon.c-20070409200331-3el1kqgdb9m4ib0g-1 === modified file 'common/ctdb_control.c' --- a/common/ctdb_control.c 2007-04-26 12:51:41 +0000 +++ b/common/ctdb_control.c 2007-04-26 16:31:13 +0000 @@ -124,8 +124,6 @@ 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); }
=== modified file 'common/ctdb_daemon.c' --- a/common/ctdb_daemon.c 2007-04-26 13:33:17 +0000 +++ b/common/ctdb_daemon.c 2007-04-26 16:31:13 +0000 @@ -564,12 +564,12 @@ 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 @@ 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);