SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
net/ns/patches/patch-nix_nixnode_cc
Normal file
12
net/ns/patches/patch-nix_nixnode_cc
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: nix/nixnode.cc
|
||||
--- nix/nixnode.cc.orig
|
||||
+++ nix/nixnode.cc
|
||||
@@ -156,7 +156,7 @@ Edge* pE;
|
||||
if (last.first == NODE_NONE)
|
||||
{
|
||||
prev = m_Adj.begin();
|
||||
- if (prev == (EdgeVec_it) NULL) // ! How can this happen?
|
||||
+ if (prev == m_Adj.end()) // ! How can this happen?
|
||||
return(NodeWeight_t(NODE_NONE, 0));
|
||||
pE = *prev;
|
||||
if(0)printf("NextAdj returning first edge %ld\n",
|
Loading…
Add table
Add a link
Reference in a new issue