ossp-pkg/pth/pth_msg.c 1.22 -> 1.23
--- pth_msg.c 2002/01/27 11:03:40 1.22
+++ pth_msg.c 2002/10/23 13:55:49 1.23
@@ -46,9 +46,7 @@
{
pth_msgport_t mp;
- /* check input */
- if (name == NULL)
- return_errno(NULL, EINVAL);
+ /* Notice: "name" is allowed to be NULL */
/* allocate message port structure */
if ((mp = (pth_msgport_t)malloc(sizeof(struct pth_msgport_st))) == NULL)
|
|