+ char uuid[BLOG_EUIDBUF_SIZE];
+ generate_uuid(uuid);
+ msg->cm_fields['E'] = strdup(uuid);
+ }
+
+ /*
+ * We also want to define a maximum length, whether we generated it or not.
+ */
+ else if (strlen(msg->cm_fields['E']) >= BLOG_EUIDBUF_SIZE) {
+ msg->cm_fields['E'][BLOG_EUIDBUF_SIZE-1] = 0;