<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-hlr/+/17057">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">gsup_client.c: fix deprecation for client create func<br><br>Change-Id: Iab9f416519b5df3bd4683592b2976f16675d9be7<br>---<br>M src/gsupclient/gsup_client.c<br>1 file changed, 9 insertions(+), 8 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/57/17057/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gsupclient/gsup_client.c b/src/gsupclient/gsup_client.c</span><br><span>index 814d5a2..52985c9 100644</span><br><span>--- a/src/gsupclient/gsup_client.c</span><br><span>+++ b/src/gsupclient/gsup_client.c</span><br><span>@@ -291,14 +291,15 @@</span><br><span>    if (rc != 0)</span><br><span>                 goto failed;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-        gsupc->link = ipa_client_conn_create(gsupc,</span><br><span style="color: hsl(0, 100%, 40%);">-                                       /* no e1inp */ NULL,</span><br><span style="color: hsl(0, 100%, 40%);">-                                            0,</span><br><span style="color: hsl(0, 100%, 40%);">-                                      ip_addr, tcp_port,</span><br><span style="color: hsl(0, 100%, 40%);">-                                      gsup_client_updown_cb,</span><br><span style="color: hsl(0, 100%, 40%);">-                                          gsup_client_read_cb,</span><br><span style="color: hsl(0, 100%, 40%);">-                                            /* default write_cb */ NULL,</span><br><span style="color: hsl(0, 100%, 40%);">-                                            gsupc);</span><br><span style="color: hsl(120, 100%, 40%);">+  gsupc->link = ipa_client_conn_create2(gsupc,</span><br><span style="color: hsl(120, 100%, 40%);">+                                             /* no e1inp */ NULL,</span><br><span style="color: hsl(120, 100%, 40%);">+                                          0,</span><br><span style="color: hsl(120, 100%, 40%);">+                                            /* no specific local IP:port */ NULL, 0,</span><br><span style="color: hsl(120, 100%, 40%);">+                                              ip_addr, tcp_port,</span><br><span style="color: hsl(120, 100%, 40%);">+                                            gsup_client_updown_cb,</span><br><span style="color: hsl(120, 100%, 40%);">+                                        gsup_client_read_cb,</span><br><span style="color: hsl(120, 100%, 40%);">+                                          /* default write_cb */ NULL,</span><br><span style="color: hsl(120, 100%, 40%);">+                                          gsupc);</span><br><span>        if (!gsupc->link)</span><br><span>                 goto failed;</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-hlr/+/17057">change 17057</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-hlr/+/17057"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-hlr </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Iab9f416519b5df3bd4683592b2976f16675d9be7 </div>
<div style="display:none"> Gerrit-Change-Number: 17057 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>