Skip to content

Commit 650239a

Browse files
itojunitojun
authored andcommitted
fix error return (0 -> -1). sync with kame.
1 parent 11a8150 commit 650239a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crypto/dist/kame/racoon/cfparse.y

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $KAME: cfparse.y,v 1.81 2001/01/02 05:06:56 itojun Exp $ */
1+
/* $KAME: cfparse.y,v 1.82 2001/01/04 06:07:31 sakane Exp $ */
22

33
%{
44
#include <sys/types.h>
@@ -330,7 +330,7 @@ listen_stmt
330330
if (p->addr == NULL) {
331331
yyerror("failed to copy sockaddr ");
332332
delmyaddr(p);
333-
return 0;
333+
return -1;
334334
}
335335

336336
insmyaddr(p, &lcconf->myaddrs);

0 commit comments

Comments
 (0)