X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FHostname.cs;fp=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FHostname.cs;h=b5f0ec54fca4ceb52cabab3ff56566371bd693c1;hb=592c64eb658d92e314a2b983cea16cecf3882474;hp=0d5840edc02c5889c5ee02f96c43354c6cdb8038;hpb=12fdbefaac81d5b4be6bb67addd6dcd7c46a182b;p=ldk-java diff --git a/c_sharp/src/org/ldk/structs/Hostname.cs b/c_sharp/src/org/ldk/structs/Hostname.cs index 0d5840ed..b5f0ec54 100644 --- a/c_sharp/src/org/ldk/structs/Hostname.cs +++ b/c_sharp/src/org/ldk/structs/Hostname.cs @@ -57,7 +57,7 @@ public class Hostname : CommonBase { * Two objects with NULL inner values will be considered "equal" here. */ public bool eq(org.ldk.structs.Hostname b) { - bool ret = bindings.Hostname_eq(this.ptr, b == null ? 0 : b.ptr); + bool ret = bindings.Hostname_eq(this.ptr, b.ptr); GC.KeepAlive(this); GC.KeepAlive(b); if (this != null) { this.ptrs_to.AddLast(b); };