svn rev #25135: trunk/src/lib/apputils/

raeburn@MIT.EDU raeburn at MIT.EDU
Sun Sep 4 00:29:40 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=25135
Commit By: raeburn
Log Message:
declarations before code


Changed Files:
U   trunk/src/lib/apputils/net-server.c
Modified: trunk/src/lib/apputils/net-server.c
===================================================================
--- trunk/src/lib/apputils/net-server.c	2011-09-04 04:03:44 UTC (rev 25134)
+++ trunk/src/lib/apputils/net-server.c	2011-09-04 04:29:40 UTC (rev 25135)
@@ -1245,13 +1245,14 @@
 {
 #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"),




More information about the cvs-krb5 mailing list