ossp-pkg/sio/al.c 1.39 -> 1.40
--- al.c 2002/11/28 17:21:55 1.39
+++ al.c 2002/11/29 14:06:52 1.40
@@ -487,7 +487,7 @@
char *dst;
/* argument sanity check(s) */
- if (al == NULL || src == NULL || n < 0)
+ if (al == NULL || src == NULL)
return AL_RC(AL_ERR_ARG);
cur = TAIL(al,chunks);
@@ -536,7 +536,7 @@
char *dst;
/* argument sanity check(s) */
- if (al == NULL || src == NULL || n < 0)
+ if (al == NULL || src == NULL)
return AL_RC(AL_ERR_ARG);
cur = HEAD(al,chunks);
@@ -624,7 +624,7 @@
int doinsert;
/* argument sanity check(s) */
- if (al == NULL || n < 0)
+ if (al == NULL)
return AL_RC(AL_ERR_ARG);
/* optimization: treat an empty list as no insertion at all */
@@ -829,7 +829,7 @@
size_t skip, len;
/* argument sanity check(s) */
- if (al == NULL || n < 0)
+ if (al == NULL)
return AL_RC(AL_ERR_ARG);
/*
|
|