ossp-pkg/l2/l2_ut_param.c 1.3 -> 1.4
--- l2_ut_param.c 2001/09/05 13:34:58 1.3
+++ l2_ut_param.c 2001/09/06 14:37:53 1.4
@@ -40,7 +40,7 @@
int i;
if (pa == NULL || fmt == NULL || ap == NULL)
- return L2_ERROR;
+ return L2_ERR_ARG;
cpE = fmt;
while (*cpE != '\0') {
/* determine begin of parameter name */
@@ -102,7 +102,7 @@
}
}
if (!ok)
- return L2_ERROR;
+ return L2_ERR_USE;
}
return L2_OK;
}
|
|