const char *fmt, ...)
{
va_list ap;
- struct ctdb_reply_error *r;
+ struct ctdb_reply_error_old *r;
char *msg;
int msglen, len;
va_end(ap);
msglen = strlen(msg)+1;
- len = offsetof(struct ctdb_reply_error, msg);
+ len = offsetof(struct ctdb_reply_error_old, msg);
r = ctdb_transport_allocate(ctdb, msg, CTDB_REPLY_ERROR, len + msglen,
- struct ctdb_reply_error);
+ struct ctdb_reply_error_old);
CTDB_NO_MEMORY_FATAL(ctdb, r);
r->hdr.destnode = hdr->srcnode;
*/
void ctdb_reply_error(struct ctdb_context *ctdb, struct ctdb_req_header *hdr)
{
- struct ctdb_reply_error *c = (struct ctdb_reply_error *)hdr;
+ struct ctdb_reply_error_old *c = (struct ctdb_reply_error_old *)hdr;
struct ctdb_call_state *state;
state = reqid_find(ctdb->idr, hdr->reqid, struct ctdb_call_state);