ossp-pkg/l2/l2_stream.c 1.8 -> 1.9
--- l2_stream.c 2001/09/04 13:52:59 1.8
+++ l2_stream.c 2001/09/04 14:17:11 1.9
@@ -65,7 +65,7 @@
{
int i;
- if (st == NULL || id == '\0' || cb != NULL)
+ if (st == NULL || id == '\0' || cb == NULL)
return L2_ERROR;
for (i = 0; i < L2_MAX_FORMATTERS && st->formatters[i].cb != NULL; i++)
;
|
|