Permalink
Browse files

Max atom length from ei.h

  • Loading branch information...
1 parent 403aaca commit d0bc83df58851d59d7b35f75eb4dafbad348b3a2 @msantos committed Feb 1, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 c_src/procket.h
View
@@ -52,11 +52,12 @@
#define PROCKET_VERSION "0.01"
-#define MAXBUFLEN 4096 /* Largest message accepted on stdin */
#ifndef UNIX_PATH_MAX
#define UNIX_PATH_MAX sizeof(((struct sockaddr_un *)0)->sun_path)
#endif
+#define MAXATOMLEN 255 /* ei.h: does not include terminating NULL */
+
#define IS_ERR(x) do { \
if ((x) == -1) return (-1); \
} while (0)

0 comments on commit d0bc83d

Please sign in to comment.