<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/9262">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ipaccess: ipaccess_rcvmsg: Drop unneeded memcpy<br><br>Those values are not used anymore, since the old bfd is unregistered and<br>the values for the new one will be overwritten by osmo_fd_register.<br><br>Change-Id: I7ac74843cbed920a2fdc6ade7aef4d4de905939a<br>---<br>M src/input/ipaccess.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/62/9262/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c</span><br><span>index 9a80d8e..bbdc5af 100644</span><br><span>--- a/src/input/ipaccess.c</span><br><span>+++ b/src/input/ipaccess.c</span><br><span>@@ -194,7 +194,7 @@</span><br><span>                     newbfd = &ts->driver.ipaccess.fd;</span><br><span> </span><br><span>                         /* get rid of our old temporary bfd */</span><br><span style="color: hsl(0, 100%, 40%);">-                  memcpy(&newbfd->list, &bfd->list, sizeof(newbfd->list));</span><br><span style="color: hsl(120, 100%, 40%);">+                     INIT_LLIST_HEAD(&newbfd->list);</span><br><span>                       newbfd->fd = bfd->fd;</span><br><span>                  newbfd->when |= bfd->when; /* preserve 'newbfd->when' flags potentially set by sign_link_up() */</span><br><span>                    newbfd->cb = bfd->cb;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9262">change 9262</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/9262"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmo-abis </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I7ac74843cbed920a2fdc6ade7aef4d4de905939a </div>
<div style="display:none"> Gerrit-Change-Number: 9262 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>