projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14f0312
)
declarations before code
author
Ken Raeburn
<raeburn@mit.edu>
Sun, 4 Sep 2011 04:29:40 +0000
(
04:29
+0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Sun, 4 Sep 2011 04:29:40 +0000
(
04:29
+0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25135
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/apputils/net-server.c
patch
|
blob
|
history
diff --git
a/src/lib/apputils/net-server.c
b/src/lib/apputils/net-server.c
index 9f53c76e6a73ad527d1258cf4e46c18949487f5f..542aa5c0e405b06dac9d823182e6d4ed8a0c24a3 100644
(file)
--- a/
src/lib/apputils/net-server.c
+++ b/
src/lib/apputils/net-server.c
@@
-1245,13
+1245,14
@@
loop_setup_routing_socket(verto_ctx *ctx, void *handle, const char *progname)
{
#ifdef HAVE_STRUCT_RT_MSGHDR
struct socksetup data;
+ int sock;
data.ctx = ctx;
data.handle = handle;
data.prog = progname;
data.retval = 0;
-
int
sock = socket(PF_ROUTE, SOCK_RAW, 0);
+ sock = socket(PF_ROUTE, SOCK_RAW, 0);
if (sock < 0) {
int e = errno;
krb5_klog_syslog(LOG_INFO, _("couldn't set up routing socket: %s"),