/[classpath]/classpath/native/jni/java-net/javanet.c
ViewVC logotype

Diff of /classpath/native/jni/java-net/javanet.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by rupp, Wed Jul 23 07:39:09 2003 UTC revision 1.12 by mkoch, Tue Jul 29 15:50:20 2003 UTC
# Line 595  _javanet_connect(JNIEnv *env, jobject th Line 595  _javanet_connect(JNIEnv *env, jobject th
595        return;        return;
596      }      }
597    
598    _javanet_set_remhost(env, this, remote_address);    if (remote_address == netaddr)
599        {
600          _javanet_set_remhost_addr(env, this, addr);
601        }
602      else
603        {
604          _javanet_set_remhost(env, this, remote_address);
605        }
606    if ((*env)->ExceptionOccurred(env))    if ((*env)->ExceptionOccurred(env))
607      {      {
608        TARGET_NATIVE_NETWORK_SOCKET_CLOSE(fd,result);        TARGET_NATIVE_NETWORK_SOCKET_CLOSE(fd,result);

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26