Commit c787c253 authored by Geoff Simmons's avatar Geoff Simmons

minor stuff -- remove an unnecessary #define, and fix a comment

parent 0a341b84
......@@ -38,8 +38,6 @@
#include "vmod_blobcode.h"
#include "wb.h"
#define MAX_VCL_ERRMSG 64
struct vmod_blobcode_blob {
unsigned magic;
#define VMOD_BLOBCODE_BLOB_MAGIC 0xfade4fa9
......
......@@ -89,7 +89,7 @@ ssize_t encode_f(const enum encoding enc, char *restrict const buf,
*
* Returns:
* -1, if there is insufficient space at buf, or if the decoding is
* invalid (XXX: set errno to ENOMEM or EINVALID)
* invalid; errno SHALL be set to ENOMEM or EINVALID, respectively
* 0, if the length of the decoding is 0 -- the caller should return
* a static constant empty BLOB
* otherwise, the number of bytes written
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment