if ((cp == NULL) || (*cp == '#')) {
goto more;
}
- printf("line is %s\n", cp);
cp_ptr = strtok_r(cp, " \t", &cp_ptr_ptr);
if (cp_ptr == NULL) {
- printf("error\n");
/* Error */
goto more;
}
cp_ptr = strtok_r(NULL, " \t", &cp_ptr_ptr);
if (cp_ptr == NULL) {
- printf("error\n");
/* Error */
goto more;
}
cp_ptr = strtok_r(NULL, " \t", &cp_ptr_ptr);
if (cp_ptr == NULL) {
- printf("error\n");
/* error */
goto more;
}
cp_ptr = strtok_r(NULL, " \t", &cp_ptr_ptr);
if (cp_ptr == NULL) {
- printf("error\n");
/* error */
goto more;
}
cp_ptr = strtok_r(NULL, " \t", &cp_ptr_ptr);
if (cp_ptr == NULL) {
- printf("error\n");
/* error */
goto more;
}
cp_ptr = strtok_r(NULL, " \t", &cp_ptr_ptr);
if (cp_ptr == NULL) {
- printf("error\n");
/* error */
goto more;
}