Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
ecadfaca
...
ecadfaca4f5c2901bfcf7b35d860d759c0b97883
authored
2004-06-04 23:23:55 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Minor formatting fix
1 parent
7b78f5c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
libsieve/extensions/spamd.c
libsieve/extensions/spamd.c
View file @
ecadfac
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 2003 Free Software Foundation, Inc.
Copyright (C) 2003
, 2004
Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
...
...
@@ -67,9 +67,9 @@ spamd_connect_socket (sieve_machine_t mach, stream_t *stream, char *path)
return
errno
;
}
memset
(
&
addr
,
0
,
sizeof
addr
);
memset
(
&
addr
,
0
,
sizeof
addr
);
addr
.
sun_family
=
AF_UNIX
;
strncpy
(
addr
.
sun_path
,
path
,
sizeof
addr
.
sun_path
-
1
);
strncpy
(
addr
.
sun_path
,
path
,
sizeof
addr
.
sun_path
-
1
);
addr
.
sun_path
[
sizeof
addr
.
sun_path
-
1
]
=
0
;
if
(
connect
(
fd
,
(
struct
sockaddr
*
)
&
addr
,
sizeof
(
addr
)))
{
...
...
Please
register
or
sign in
to post a comment