changeset 6785:01f4ed4d889b

Merge
author coffeys
date Fri, 25 Oct 2013 18:51:23 +0100
parents 694ad155b344 c5fbbced812e
children 0ce67c8129f9
files
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/native/java/net/NetworkInterface.c	Thu Oct 24 19:21:52 2013 +0100
+++ b/src/solaris/native/java/net/NetworkInterface.c	Fri Oct 25 18:51:23 2013 +0100
@@ -559,11 +559,9 @@
 
     if ((sock = openSocketWithFallback(env, name_utf)) < 0) {
         (*env)->ReleaseStringUTFChars(env, name, name_utf);
-         return -1;
+        return -1;
     }
 
-    name_utf = (*env)->GetStringUTFChars(env, name, &isCopy);
-
     ret = getFlags(sock, name_utf, &flags);
 
     close(sock);