148 |
#ifndef WITHOUT_NETWORK |
#ifndef WITHOUT_NETWORK |
149 |
return(_javanet_get_option(env, this, option_id)); |
return(_javanet_get_option(env, this, option_id)); |
150 |
#else /* not WITHOUT_NETWORK */ |
#else /* not WITHOUT_NETWORK */ |
151 |
|
return NULL; |
152 |
#endif /* not WITHOUT_NETWORK */ |
#endif /* not WITHOUT_NETWORK */ |
153 |
} |
} |
154 |
|
|
228 |
|
|
229 |
/* Now get the maximal available length from the packet */ |
/* Now get the maximal available length from the packet */ |
230 |
fid = (*env)->GetFieldID(env, cls, "maxlen", "I"); |
fid = (*env)->GetFieldID(env, cls, "maxlen", "I"); |
231 |
if (mid == NULL) |
if (fid == NULL) |
232 |
{ |
{ |
233 |
JCL_ThrowException(env, IO_EXCEPTION, "Internal error: maxlen"); |
JCL_ThrowException(env, IO_EXCEPTION, "Internal error: maxlen"); |
234 |
return; |
return; |