]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Tue, 28 Aug 2012 13:00:30 +0000 (07:00 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Tue, 28 Aug 2012 13:00:30 +0000 (07:00 -0600)
512 files changed:
compat/GnuRegex.c
compat/GnuRegex.h
compat/cmsg.h
compat/compat.h
compat/compat_shared.h
compat/cppunit.h
compat/debug.h
compat/fdsetsize.h
compat/getnameinfo.h
compat/os/aix.h
compat/os/freebsd.h
compat/os/hpux.h
compat/os/linux.h
compat/os/next.h
compat/os/opensolaris_10_netdb.h
compat/os/os2.h
compat/os/qnx.h
compat/os/solaris.h
compat/os/sunos.h
compat/osdetect.h
compat/shm.cc
compat/shm.h
compat/strtoll.c
compat/tempnam.c
compat/types.h
compat/xstring.h
helpers/basic_auth/MSNT/byteorder.h
helpers/basic_auth/MSNT/denyusers.cc
helpers/basic_auth/MSNT/usersfile.h
helpers/basic_auth/RADIUS/basic_radius_auth.cc
helpers/basic_auth/RADIUS/radius.h
helpers/basic_auth/SMB/basic_smb_auth.cc
helpers/digest_auth/LDAP/digest_pw_auth.cc
helpers/digest_auth/LDAP/ldap_backend.cc
helpers/digest_auth/eDirectory/edir_ldapext.cc
helpers/digest_auth/eDirectory/ldap_backend.cc
helpers/external_acl/AD_group/ext_ad_group_acl.cc
helpers/external_acl/LDAP_group/ext_ldap_group_acl.cc
helpers/external_acl/LM_group/ext_lm_group_acl.cc
helpers/external_acl/file_userip/ext_file_userip_acl.cc
helpers/external_acl/kerberos_ldap_group/kerberos_ldap_group.cc
helpers/external_acl/kerberos_ldap_group/support.h
helpers/external_acl/kerberos_ldap_group/support_group.cc
helpers/external_acl/kerberos_ldap_group/support_ldap.cc
helpers/external_acl/kerberos_ldap_group/support_member.cc
helpers/external_acl/kerberos_ldap_group/support_resolv.cc
helpers/external_acl/kerberos_ldap_group/support_sasl.cc
helpers/external_acl/time_quota/ext_time_quota_acl.cc
helpers/external_acl/unix_group/check_group.cc
helpers/negotiate_auth/kerberos/negotiate_kerberos_auth.cc
helpers/negotiate_auth/wrapper/negotiate_wrapper.cc
helpers/ntlm_auth/SSPI/ntlm_sspi_auth.cc
helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.cc
include/CbDataList.h
include/MemPool.h
include/MemPoolMalloc.h
include/SquidNew.h
include/base64.h
include/cache_snmp.h
include/heap.h
include/radix.h
include/rfc1035.h
include/rfc1738.h
include/rfc2617.h
include/rfc2671.h
include/snmp_api.h
include/snmp_util.h
include/snmp_vars.h
include/splay.h
lib/Array.cc
lib/MemPoolMalloc.cc
lib/base64.c
lib/dirent.c
lib/encrypt.c
lib/getfullhostname.c
lib/hash.cc
lib/heap.c
lib/iso3307.c
lib/ntlmauth/ntlmauth.cc
lib/ntlmauth/ntlmauth.h
lib/profiler/Profiler.cc
lib/radix.c
lib/rfc1035.c
lib/rfc1123.c
lib/rfc2617.c
lib/rfc3596.c
lib/rfcnb/byteorder.h
lib/rfcnb/rfcnb-io.c
lib/rfcnb/rfcnb-priv.h
lib/smblib/file.c
lib/smblib/smb-errors.c
lib/smblib/smbdes.c
lib/smblib/smblib-api.c
lib/smblib/smblib-priv.h
lib/smblib/smblib-util.c
lib/smblib/smblib.c
lib/sspwin32.c
lib/tests/testArray.h
lib/tests/testMain.cc
lib/tests/testRFC1035.cc
lib/tests/testRFC1738.cc
snmplib/asn1.c
snmplib/mib.c
snmplib/parse.c
snmplib/snmp_api.c
snmplib/snmp_api_error.c
snmplib/snmp_error.c
snmplib/snmp_msg.c
snmplib/snmp_pdu.c
snmplib/snmp_vars.c
src/AccessLogEntry.cc
src/AccessLogEntry.h
src/AclRegs.cc
src/BodyPipe.cc
src/CommCalls.cc
src/CommCalls.h
src/CommRead.h
src/ConfigOption.h
src/CpuAffinity.cc
src/CpuAffinity.h
src/CpuAffinityMap.cc
src/CpuAffinityMap.h
src/CpuAffinitySet.cc
src/DiskIO/AIO/aio_win32.cc
src/DiskIO/Blocking/BlockingDiskIOModule.cc
src/DiskIO/Blocking/BlockingFile.cc
src/DiskIO/DiskDaemon/DiskdAction.cc
src/DiskIO/DiskDaemon/DiskdAction.h
src/DiskIO/DiskDaemon/DiskdIOStrategy.cc
src/DiskIO/DiskIOModule.h
src/DiskIO/DiskThreads/CommIO.h
src/DiskIO/DiskThreads/DiskThreads.h
src/DiskIO/DiskThreads/DiskThreadsDiskFile.cc
src/DiskIO/DiskThreads/DiskThreadsDiskIOModule.h
src/DiskIO/DiskThreads/DiskThreadsIOStrategy.cc
src/DiskIO/DiskThreads/aiops.cc
src/DiskIO/DiskThreads/aiops_win32.cc
src/DiskIO/DiskThreads/async_io.cc
src/DiskIO/IpcIo/IpcIoDiskIOModule.cc
src/DiskIO/IpcIo/IpcIoFile.cc
src/DiskIO/IpcIo/IpcIoFile.h
src/DiskIO/Mmapped/MmappedDiskIOModule.cc
src/DiskIO/Mmapped/MmappedFile.cc
src/EventLoop.h
src/ExternalACL.h
src/ExternalACLEntry.h
src/HttpBody.cc
src/HttpBody.h
src/HttpHdrCc.cc
src/HttpHdrContRange.cc
src/HttpHdrRange.cc
src/HttpHdrSc.cc
src/HttpHdrScTarget.h
src/HttpHeader.cc
src/HttpHeader.h
src/HttpHeaderStat.h
src/HttpHeaderTools.cc
src/HttpMsg.h
src/HttpParser.cc
src/HttpParser.h
src/HttpReply.cc
src/HttpRequestMethod.h
src/HttpStatusLine.h
src/ICP.h
src/LeakFinder.cc
src/MemBlob.cc
src/MemBlob.h
src/MemBuf.cc
src/MemObject.cc
src/MemObject.h
src/MemStore.cc
src/Packer.cc
src/Packer.h
src/PeerSelectState.h
src/RemovalPolicy.h
src/Server.cc
src/SquidNew.cc
src/SquidString.h
src/StatCounters.h
src/StatHist.h
src/Store.h
src/StoreClient.h
src/StoreFileSystem.h
src/StoreMeta.cc
src/StoreStats.cc
src/StoreStats.h
src/StoreSwapLogData.h
src/String.cc
src/String.cci
src/SwapDir.cc
src/acl/Acl.cc
src/acl/Acl.h
src/acl/Arp.cc
src/acl/Asn.cc
src/acl/Browser.cc
src/acl/Certificate.cc
src/acl/Checklist.cc
src/acl/Checklist.h
src/acl/DestinationDomain.cc
src/acl/DestinationIp.cc
src/acl/DomainData.cc
src/acl/Eui64.cc
src/acl/Eui64.h
src/acl/FilledChecklist.cc
src/acl/Gadgets.cc
src/acl/HierCode.cc
src/acl/HttpRepHeader.cc
src/acl/HttpReqHeader.cc
src/acl/HttpStatus.cc
src/acl/Ip.cc
src/acl/LocalIp.cc
src/acl/Method.cc
src/acl/PeerName.cc
src/acl/Protocol.cc
src/acl/Referer.cc
src/acl/ReplyMimeType.cc
src/acl/RequestMimeType.cc
src/acl/SourceDomain.cc
src/acl/SourceIp.cc
src/acl/StringData.h
src/acl/Time.cc
src/acl/UrlPort.cc
src/acl/UserData.cc
src/adaptation/AccessRule.cc
src/adaptation/Answer.cc
src/adaptation/Config.cc
src/adaptation/Elements.cc
src/adaptation/History.cc
src/adaptation/History.h
src/adaptation/Initiate.cc
src/adaptation/Iterator.cc
src/adaptation/Iterator.h
src/adaptation/Service.cc
src/adaptation/ServiceConfig.cc
src/adaptation/ServiceFilter.cc
src/adaptation/ServiceGroups.cc
src/adaptation/ServiceGroups.h
src/adaptation/ecap/Config.cc
src/adaptation/ecap/Config.h
src/adaptation/ecap/Host.cc
src/adaptation/ecap/MessageRep.cc
src/adaptation/ecap/MessageRep.h
src/adaptation/ecap/ServiceRep.cc
src/adaptation/ecap/XactionRep.cc
src/adaptation/icap/Client.h
src/adaptation/icap/Config.h
src/adaptation/icap/Elements.h
src/adaptation/icap/InOut.h
src/adaptation/icap/Launcher.cc
src/adaptation/icap/Launcher.h
src/adaptation/icap/ModXact.cc
src/adaptation/icap/ModXact.h
src/adaptation/icap/OptXact.cc
src/adaptation/icap/OptXact.h
src/adaptation/icap/Options.cc
src/adaptation/icap/Options.h
src/adaptation/icap/ServiceRep.cc
src/adaptation/icap/ServiceRep.h
src/adaptation/icap/Xaction.cc
src/adaptation/icap/Xaction.h
src/auth/User.cc
src/auth/UserRequest.cc
src/auth/basic/auth_basic.cc
src/auth/digest/auth_digest.cc
src/auth/negotiate/auth_negotiate.cc
src/auth/ntlm/auth_ntlm.cc
src/base/AsyncCall.cc
src/base/AsyncCall.h
src/base/AsyncCallQueue.cc
src/base/AsyncJob.cc
src/base/AsyncJobCalls.h
src/base/CbcPointer.h
src/base/InstanceId.h
src/base/RunnersRegistry.h
src/cache_cf.cc
src/cache_diff.cc
src/cache_manager.cc
src/cbdata.cc
src/cbdata.h
src/clientStream.cc
src/client_db.cc
src/client_side.cc
src/client_side.h
src/client_side_reply.cc
src/client_side_request.cc
src/client_side_request.h
src/comm.cc
src/comm.h
src/comm/ModDevPoll.cc
src/comm/ModEpoll.cc
src/comm/ModKqueue.cc
src/comm/ModPoll.cc
src/comm/ModSelect.cc
src/comm/ModSelectWin32.cc
src/comm_poll.h
src/debug.cc
src/delay_pools.cc
src/disk.cc
src/dlink.cc
src/dns_internal.cc
src/dnsserver.cc
src/enums.h
src/errorpage.cc
src/esi/ElementList.h
src/esi/Esi.cc
src/esi/Expression.cc
src/esi/Include.cc
src/esi/Parser.h
src/esi/Segment.h
src/esi/Sequence.cc
src/esi/VarState.cc
src/esi/VarState.h
src/event.cc
src/external_acl.cc
src/fd.cc
src/format/Format.cc
src/forward.cc
src/forward.h
src/fqdncache.cc
src/fs/Module.cc
src/fs/coss/CossSwapDir.h
src/fs/coss/StoreFScoss.h
src/fs/coss/store_coss.h
src/fs/coss/store_dir_coss.cc
src/fs/coss/store_io_coss.cc
src/fs/rock/RockIoRequests.h
src/fs/rock/RockIoState.cc
src/fs/rock/RockStoreFileSystem.cc
src/fs/rock/RockSwapDir.cc
src/fs/rock/RockSwapDir.h
src/fs/ufs/RebuildState.h
src/fs/ufs/UFSStoreState.cc
src/fs/ufs/UFSSwapDir.cc
src/ftp.cc
src/globals.h
src/gopher.cc
src/helper.cc
src/helper.h
src/htcp.cc
src/http.cc
src/icmp/Icmp.h
src/icmp/Icmp4.h
src/icmp/Icmp6.cc
src/icmp/IcmpSquid.cc
src/icmp/net_db.cc
src/icmp/net_db.h
src/icp_v2.cc
src/icp_v3.cc
src/ident/AclIdent.cc
src/ident/AclIdent.h
src/ip/Address.h
src/ip/Intercept.h
src/ip/stubQosConfig.cc
src/ip/testAddress.cc
src/ipc/Coordinator.cc
src/ipc/Coordinator.h
src/ipc/FdNotes.cc
src/ipc/FdNotes.h
src/ipc/Forwarder.cc
src/ipc/Forwarder.h
src/ipc/Inquirer.cc
src/ipc/Inquirer.h
src/ipc/Kid.h
src/ipc/Kids.h
src/ipc/Messages.h
src/ipc/Port.cc
src/ipc/Port.h
src/ipc/Queue.cc
src/ipc/Queue.h
src/ipc/ReadWriteLock.cc
src/ipc/ReadWriteLock.h
src/ipc/Request.h
src/ipc/Response.h
src/ipc/SharedListen.cc
src/ipc/SharedListen.h
src/ipc/StartListening.h
src/ipc/StoreMap.cc
src/ipc/StoreMap.h
src/ipc/Strand.cc
src/ipc/Strand.h
src/ipc/StrandCoord.cc
src/ipc/StrandCoord.h
src/ipc/StrandSearch.cc
src/ipc/TypedMsgHdr.cc
src/ipc/UdsOp.cc
src/ipc/UdsOp.h
src/ipc/mem/Page.cc
src/ipc/mem/PagePool.cc
src/ipc/mem/PageStack.cc
src/ipc/mem/Pages.cc
src/ipc/mem/Pages.h
src/ipc/mem/Segment.cc
src/ipcache.cc
src/log/ModDaemon.cc
src/log/ModSyslog.cc
src/log/ModTcp.cc
src/log/ModUdp.cc
src/log/access_log.cc
src/mem.cc
src/mgr/Action.cc
src/mgr/Action.h
src/mgr/ActionWriter.cc
src/mgr/ActionWriter.h
src/mgr/BasicActions.h
src/mgr/CountersAction.cc
src/mgr/CountersAction.h
src/mgr/Filler.cc
src/mgr/Forwarder.cc
src/mgr/Forwarder.h
src/mgr/FunAction.cc
src/mgr/FunAction.h
src/mgr/InfoAction.cc
src/mgr/InfoAction.h
src/mgr/Inquirer.cc
src/mgr/IntParam.cc
src/mgr/IntParam.h
src/mgr/IntervalAction.cc
src/mgr/IntervalAction.h
src/mgr/IoAction.cc
src/mgr/QueryParam.h
src/mgr/QueryParams.cc
src/mgr/QueryParams.h
src/mgr/Request.cc
src/mgr/Request.h
src/mgr/Response.cc
src/mgr/Response.h
src/mgr/ServiceTimesAction.h
src/mgr/StoreIoAction.cc
src/mgr/StoreIoAction.h
src/mgr/StoreToCommWriter.cc
src/mgr/StoreToCommWriter.h
src/mgr/StringParam.cc
src/mgr/StringParam.h
src/mime.cc
src/mime_header.cc
src/neighbors.cc
src/pconn.h
src/peer_digest.cc
src/peer_proxy_negotiate_auth.cc
src/peer_select.cc
src/peer_userhash.cc
src/protos.h
src/recv-announce.cc
src/repl/heap/store_heap_replacement.cc
src/snmp/Forwarder.cc
src/snmp/Forwarder.h
src/snmp/Inquirer.cc
src/snmp/Inquirer.h
src/snmp/Pdu.cc
src/snmp/Pdu.h
src/snmp/Request.cc
src/snmp/Request.h
src/snmp/Response.cc
src/snmp/Session.cc
src/snmp/Session.h
src/snmp/Var.cc
src/snmp/Var.h
src/snmp_agent.cc
src/snmp_core.cc
src/snmp_core.h
src/ssl/ErrorDetailManager.cc
src/ssl/ErrorDetailManager.h
src/ssl/ServerBump.cc
src/ssl/certificate_db.cc
src/ssl/context_storage.h
src/ssl/crtd_message.cc
src/ssl/gadgets.cc
src/ssl/gadgets.h
src/ssl/support.cc
src/ssl/support.h
src/stat.cc
src/stmem.cc
src/store.cc
src/store_digest.cc
src/store_dir.cc
src/store_swapmeta.cc
src/store_swapout.cc
src/structs.h
src/test_cache_digest.cc
src/tests/STUB.h
src/tests/stub_libformat.cc
src/tests/stub_libsslsquid.cc
src/tests/stub_store.cc
src/tests/stub_store_swapout.cc
src/tests/testACLMaxUserIP.cc
src/tests/testBoilerplate.cc
src/tests/testEvent.cc
src/tests/testHttpParser.cc
src/tests/testHttpRequest.cc
src/tests/testHttpRequestMethod.cc
src/tests/testStatHist.cc
src/tests/testStatHist.h
src/tests/testStore.h
src/tests/testStoreController.cc
src/tests/testStoreHashIndex.cc
src/tests/testURLScheme.cc
src/tests/testUfs.cc
src/tools.cc
src/tunnel.cc
src/ufsdump.cc
src/url.cc
src/urn.cc
src/wccp.cc
src/wccp2.cc
src/win32.cc
test-suite/hash.c
test-suite/pconn-banger.c
test-suite/tcp-banger2.c
test-suite/tcp-banger3.c
tools/cachemgr.cc
tools/purge/socket.cc
tools/squidclient.cc

index d9cda4ec2e92a95c8938861b224cb82b1a44a82d..8af45323b0fa1b0e97113fbf8df4220dda0f6502 100644 (file)
@@ -48,7 +48,6 @@
 #include <strings.h>
 #endif
 
-
 /* Define the syntax stuff for \<, \>, etc.  */
 
 /* This must be nonzero for the wordchar and notwordchar pattern
@@ -105,7 +104,6 @@ init_syntax_once(void)
  * internal error.  */
 static int re_compile_fastmap(struct re_pattern_buffer * buffer);
 
-
 /* Search in the string STRING (with length LENGTH) for the pattern
  * compiled into BUFFER.  Start searching at position START, for RANGE
  * characters.  Return the starting position of the match, -1 for no
@@ -114,21 +112,18 @@ static int re_compile_fastmap(struct re_pattern_buffer * buffer);
 static int re_search(struct re_pattern_buffer * buffer, const char *string,
                      int length, int start, int range, struct re_registers * regs);
 
-
 /* Like `re_search', but search in the concatenation of STRING1 and
  * STRING2.  Also, stop searching at index START + STOP.  */
 static int re_search_2(struct re_pattern_buffer * buffer, const char *string1,
                        int length1, const char *string2, int length2,
                        int start, int range, struct re_registers * regs, int stop);
 
-
 /* Like `re_search_2', but return how many characters in STRING the regexp
  * in BUFFER matched, starting at position START.  */
 static int re_match_2(struct re_pattern_buffer * buffer, const char *string1,
                       int length1, const char *string2, int length2,
                       int start, struct re_registers * regs, int stop);
 
-
 /* isalpha etc. are used for the character classes.  */
 #include <ctype.h>
 
@@ -215,7 +210,6 @@ char *alloca();
 
 #endif /* not REGEX_MALLOC */
 
-
 /* True if `size1' is non-NULL and PTR is pointing anywhere inside
  * `string1' or just past its end.  This works if PTR is NULL, which is
  * a good thing.  */
@@ -457,7 +451,6 @@ static int debug = 0;
 #define DEBUG_PRINT_DOUBLE_STRING(w, s1, sz1, s2, sz2)                 \
   if (debug) print_double_string (w, s1, sz1, s2, sz2)
 
-
 extern void printchar();
 
 /* Print the fastmap in human-readable form.  */
@@ -486,7 +479,6 @@ char *fastmap;
     putchar('\n');
 }
 
-
 /* Print a compiled pattern string in human-readable form, starting at
  * the START pointer into it and ending just before the pointer END.  */
 
@@ -663,7 +655,6 @@ unsigned char *end;
     printf("/\n");
 }
 
-
 void
 print_compiled_pattern(bufp)
 struct re_pattern_buffer *bufp;
@@ -688,7 +679,6 @@ struct re_pattern_buffer *bufp;
     /* Perhaps we should print the translate table?  */
 }
 
-
 void
 print_double_string(where, string1, size1, string2, size2)
 const char *where;
@@ -772,14 +762,12 @@ static const char *re_error_msg[] = {NULL,                                /* REG_NOERROR */
 /* Go backwards one character in the pattern.  */
 #define PATUNFETCH p--
 
-
 /* If `translate' is non-null, return translate[D], else just D.  We
  * cast the subscript to translate because some data is declared as
  * `char *', to avoid warnings when a string constant is passed.  But
  * when we use a character as a subscript we must make it unsigned.  */
 #define TRANSLATE(d) (translate ? translate[(unsigned char) (d)] : (d))
 
-
 /* Macros for outputting the compiled pattern into `buffer'.  */
 
 /* If the buffer isn't allocated when it comes in, use this.  */
@@ -797,7 +785,6 @@ static const char *re_error_msg[] = {NULL,                          /* REG_NOERROR */
     *b++ = (unsigned char) (c);                                                \
   } while (0)
 
-
 /* Ensure we have two more bytes of buffer space and then append C1 and C2.  */
 #define BUF_PUSH_2(c1, c2)                                             \
   do {                                                                 \
@@ -806,7 +793,6 @@ static const char *re_error_msg[] = {NULL,                          /* REG_NOERROR */
     *b++ = (unsigned char) (c2);                                       \
   } while (0)
 
-
 /* As with BUF_PUSH_2, except for three bytes.  */
 #define BUF_PUSH_3(c1, c2, c3)                                         \
   do {                                                                 \
@@ -816,7 +802,6 @@ static const char *re_error_msg[] = {NULL,                          /* REG_NOERROR */
     *b++ = (unsigned char) (c3);                                       \
   } while (0)
 
-
 /* Store a jump with opcode OP at LOC to location TO.  We store a
  * relative address offset by the three bytes the jump itself occupies.  */
 #define STORE_JUMP(op, loc, to) \
@@ -834,13 +819,11 @@ static const char *re_error_msg[] = {NULL,                                /* REG_NOERROR */
 #define INSERT_JUMP2(op, loc, to, arg) \
   insert_op2 (op, loc, (to) - (loc) - 3, arg, b)
 
-
 /* This is not an arbitrary limit: the arguments which represent offsets
  * into the pattern are two bytes long.  So if 2^16 bytes turns out to
  * be too small, many things would have to change.  */
 #define MAX_BUF_SIZE (1L << 16)
 
-
 /* Extend the buffer by twice its current size via realloc and
  * reset the pointers that pointed into the old block to point to the
  * correct places in the new one.  If extending the buffer results in it
@@ -870,7 +853,6 @@ static const char *re_error_msg[] = {NULL,                          /* REG_NOERROR */
       }                                                                        \
   } while (0)
 
-
 /* Since we have one byte reserved for the register number argument to
  * {start,stop}_memory, the maximum number of groups we can report
  * things about is what fits in that byte.  */
@@ -880,7 +862,6 @@ static const char *re_error_msg[] = {NULL,                          /* REG_NOERROR */
  * ignore the excess.  */
 typedef unsigned regnum_t;
 
-
 /* Macros for the compile stack.  */
 
 /* Since offsets can go either forwards or backwards, this type needs to
@@ -895,7 +876,6 @@ typedef struct {
     regnum_t regnum;
 } compile_stack_elt_t;
 
-
 typedef struct {
     compile_stack_elt_t *stack;
     unsigned size;
@@ -919,13 +899,11 @@ static reg_errcode_t compile_range(const char **p_ptr, const char *pend, char *t
 /* The next available element.  */
 #define COMPILE_STACK_TOP (compile_stack.stack[compile_stack.avail])
 
-
 /* Set the bit for character C in a list.  */
 #define SET_LIST_BIT(c)                               \
   (b[((unsigned char) (c)) / BYTEWIDTH]               \
    |= 1 << (((unsigned char) c) % BYTEWIDTH))
 
-
 /* Get the next unsigned number in the uncompiled pattern.  */
 #define GET_UNSIGNED_NUMBER(num)                                       \
   { if (p != pend)                                                     \
@@ -1093,7 +1071,6 @@ regex_compile(const char *pattern, int size, reg_syntax_t syntax, struct re_patt
         }
         break;
 
-
         case '$': {
             if (               /* If at end of pattern, it's an operator.  */
                 p == pend
@@ -1107,7 +1084,6 @@ regex_compile(const char *pattern, int size, reg_syntax_t syntax, struct re_patt
         }
         break;
 
-
         case '+':
         case '?':
             if ((syntax & RE_BK_PLUS_QM)
@@ -1226,13 +1202,11 @@ handle_plus:
             }
             break;
 
-
         case '.':
             laststart = b;
             BUF_PUSH(anychar);
             break;
 
-
         case '[': {
             boolean had_char_class = false;
 
@@ -1402,42 +1376,36 @@ handle_plus:
         }
         break;
 
-
         case '(':
             if (syntax & RE_NO_BK_PARENS)
                 goto handle_open;
             else
                 goto normal_char;
 
-
         case ')':
             if (syntax & RE_NO_BK_PARENS)
                 goto handle_close;
             else
                 goto normal_char;
 
-
         case '\n':
             if (syntax & RE_NEWLINE_ALT)
                 goto handle_alt;
             else
                 goto normal_char;
 
-
         case '|':
             if (syntax & RE_NO_BK_VBAR)
                 goto handle_alt;
             else
                 goto normal_char;
 
-
         case '{':
             if (syntax & RE_INTERVALS && syntax & RE_NO_BK_BRACES)
                 goto handle_interval;
             else
                 goto normal_char;
 
-
         case '\\':
             if (p == pend)
                 return REG_EESCAPE;
@@ -1493,7 +1461,6 @@ handle_open:
                 pending_exact = 0;
                 break;
 
-
             case ')':
                 if (syntax & RE_NO_BK_PARENS)
                     goto normal_backslash;
@@ -1557,7 +1524,6 @@ handle_close:
                 }
                 break;
 
-
             case '|':          /* `\|'.  */
                 if (syntax & RE_LIMITED_OPS || syntax & RE_NO_BK_VBAR)
                     goto normal_backslash;
@@ -1602,7 +1568,6 @@ handle_alt:
                 begalt = b;
                 break;
 
-
             case '{':
                 /* If \{ is a literal.  */
                 if (!(syntax & RE_INTERVALS)
@@ -1756,19 +1721,16 @@ unfetch_interval:
                 }
                 goto normal_char;
 
-
             case 'w':
                 laststart = b;
                 BUF_PUSH(wordchar);
                 break;
 
-
             case 'W':
                 laststart = b;
                 BUF_PUSH(notwordchar);
                 break;
 
-
             case '<':
                 BUF_PUSH(wordbeg);
                 break;
@@ -1818,7 +1780,6 @@ unfetch_interval:
                 BUF_PUSH_2(duplicate, c1);
                 break;
 
-
             case '+':
             case '?':
                 if (syntax & RE_BK_PLUS_QM)
@@ -1836,7 +1797,6 @@ normal_backslash:
             }
             break;
 
-
         default:
             /* Expects the character in `c'.  */
 normal_char:
@@ -1871,7 +1831,6 @@ normal_char:
         }                      /* switch (c) */
     }                          /* while p != pend */
 
-
     /* Through the pattern now.  */
 
     if (fixup_alt_jump)
@@ -1905,7 +1864,6 @@ void store_op1(re_opcode_t op, unsigned char *loc, int arg)
     STORE_NUMBER(loc + 1, arg);
 }
 
-
 /* Like `store_op1', but for two two-byte parameters ARG1 and ARG2.  */
 
 void
@@ -1916,7 +1874,6 @@ store_op2( re_opcode_t op, unsigned char *loc, int arg1, int arg2)
     STORE_NUMBER(loc + 3, arg2);
 }
 
-
 /* Copy the bytes from LOC to END to open up three bytes of space at LOC
  * for OP followed by two-byte integer parameter ARG.  */
 
@@ -1932,7 +1889,6 @@ insert_op1(re_opcode_t op, unsigned char *loc, int arg, unsigned char *end)
     store_op1(op, loc, arg);
 }
 
-
 /* Like `insert_op1', but for two two-byte parameters ARG1 and ARG2.  */
 
 void
@@ -1947,7 +1903,6 @@ insert_op2(re_opcode_t op, unsigned char *loc, int arg1, int arg2, unsigned char
     store_op2(op, loc, arg1, arg2);
 }
 
-
 /* P points to just after a ^ in PATTERN.  Return true if that ^ comes
  * after an alternative or a begin-subexpression.  We assume there is at
  * least one character before the ^.  */
@@ -1965,7 +1920,6 @@ at_begline_loc_p(const char * pattern, const char *p, reg_syntax_t syntax)
         || (*prev == '|' && (syntax & RE_NO_BK_VBAR || prev_prev_backslash));
 }
 
-
 /* The dual of at_begline_loc_p.  This one is for $.  We assume there is
  * at least one character after the $, i.e., `P < PEND'.  */
 
@@ -1985,7 +1939,6 @@ at_endline_loc_p(const char *p, const char *pend, int syntax)
             : next_backslash && next_next && *next_next == '|');
 }
 
-
 /* Returns true if REGNUM is in one of COMPILE_STACK's elements and
  * false if it's not.  */
 
@@ -2003,7 +1956,6 @@ group_in_compile_stack(compile_stack_type compile_stack, regnum_t regnum)
     return false;
 }
 
-
 /* Read the ending character of a range (in a bracket expression) from the
  * uncompiled pattern *P_PTR (which ends at PEND).  We assume the
  * starting character is in `P[-2]'.  (`P[-1]' is the character `-'.)
@@ -2059,7 +2011,6 @@ compile_range(const char **p_ptr, const char *pend, char *translate, reg_syntax_
  * re_match_2 use a failure stack.  These have to be macros because of
  * REGEX_ALLOCATE.  */
 
-
 /* Number of failure points for which to initially allocate space
  * when matching.  If this number is exceeded, we allocate more
  * space, so it is not a hard limit.  */
@@ -2086,7 +2037,6 @@ typedef struct {
 #define FAIL_STACK_FULL()      (fail_stack.avail == fail_stack.size)
 #define FAIL_STACK_TOP()       (fail_stack.stack[fail_stack.avail])
 
-
 /* Initialize `fail_stack'.  Do `return -2' if the alloc fails.  */
 
 #define INIT_FAIL_STACK()                                              \
@@ -2101,7 +2051,6 @@ typedef struct {
     fail_stack.avail = 0;                                              \
   } while (0)
 
-
 /* Double the size of FAIL_STACK, up to approximately `re_max_failures' items.
  *
  * Return 1 if succeeds, and 0 if either ran out of memory
@@ -2122,7 +2071,6 @@ typedef struct {
       : ((fail_stack).size <<= 1,                                      \
          1)))
 
-
 /* Push PATTERN_OP on FAIL_STACK.
  *
  * Return 1 if was able to do so and 0 if ran out of memory allocating
@@ -2152,7 +2100,6 @@ typedef struct {
 #define DEBUG_POP(item_addr)
 #endif
 
-
 /* Push the information about the state we will need
  * if we ever fail back to it.
  *
@@ -2258,7 +2205,6 @@ typedef struct {
 /* How many items can still be added to the stack without overflowing it.  */
 #define REMAINING_AVAIL_SLOTS ((fail_stack).size - (fail_stack).avail)
 
-
 /* Pops what PUSH_FAIL_STACK pushes.
  *
  * We restore into the parameters, all of which should be lvalues:
@@ -2407,7 +2353,6 @@ struct re_pattern_buffer *bufp;
             bufp->can_be_null = 1;
             return 0;
 
-
             /* Following are the cases which match a character.  These end
              * with `break'.  */
 
@@ -2415,14 +2360,12 @@ struct re_pattern_buffer *bufp;
             fastmap[p[1]] = 1;
             break;
 
-
         case charset:
             for (j = *p++ * BYTEWIDTH - 1; j >= 0; j--)
                 if (p[j / BYTEWIDTH] & (1 << (j % BYTEWIDTH)))
                     fastmap[j] = 1;
             break;
 
-
         case charset_not:
             /* Chars beyond end of map must be allowed.  */
             for (j = *p * BYTEWIDTH; j < (1 << BYTEWIDTH); j++)
@@ -2433,21 +2376,18 @@ struct re_pattern_buffer *bufp;
                     fastmap[j] = 1;
             break;
 
-
         case wordchar:
             for (j = 0; j < (1 << BYTEWIDTH); j++)
                 if (SYNTAX(j) == Sword)
                     fastmap[j] = 1;
             break;
 
-
         case notwordchar:
             for (j = 0; j < (1 << BYTEWIDTH); j++)
                 if (SYNTAX(j) != Sword)
                     fastmap[j] = 1;
             break;
 
-
         case anychar:
             /* `.' matches anything ...  */
             for (j = 0; j < (1 << BYTEWIDTH); j++)
@@ -2465,7 +2405,6 @@ struct re_pattern_buffer *bufp;
             /* Otherwise, have to check alternative paths.  */
             break;
 
-
         case no_op:
         case begline:
         case endline:
@@ -2478,7 +2417,6 @@ struct re_pattern_buffer *bufp;
         case push_dummy_failure:
             continue;
 
-
         case jump_n:
         case pop_failure_jump:
         case maybe_pop_jump:
@@ -2510,7 +2448,6 @@ struct re_pattern_buffer *bufp;
 
             continue;
 
-
         case on_failure_jump:
         case on_failure_keep_string_jump:
 handle_on_failure_jump:
@@ -2535,7 +2472,6 @@ handle_on_failure_jump:
             }
             continue;
 
-
         case succeed_n:
             /* Get to the number of times to succeed.  */
             p += 2;
@@ -2549,18 +2485,15 @@ handle_on_failure_jump:
             }
             continue;
 
-
         case set_number_at:
             p += 4;
             continue;
 
-
         case start_memory:
         case stop_memory:
             p += 2;
             continue;
 
-
         default:
             abort();           /* We have listed all the cases.  */
         }                      /* switch *p++ */
@@ -2597,7 +2530,6 @@ struct re_registers *regs;
                        regs, size);
 }
 
-
 /* Using the compiled pattern in BUFP->buffer, first tries to match the
  * virtual concatenation of STRING1 and STRING2, starting first at index
  * STARTPOS, then at STARTPOS + 1, and so on.
@@ -2759,7 +2691,6 @@ static boolean group_match_null_string_p(unsigned char **p, unsigned char *end,
 #define MATCHED_SOMETHING(R)  ((R).bits.matched_something)
 #define EVER_MATCHED_SOMETHING(R)  ((R).bits.ever_matched_something)
 
-
 /* Call this when have matched a real character; it sets `matched' flags
  * for the subexpressions which we are currently inside.  Also records
  * that those subexprs have matched.  */
@@ -2776,7 +2707,6 @@ static boolean group_match_null_string_p(unsigned char **p, unsigned char *end,
     }                                                                  \
   while (0)
 
-
 /* This converts PTR, a pointer into one of the search strings `string1'
  * and `string2' into an offset from the beginning of that string.  */
 #define POINTER_TO_OFFSET(ptr)                                         \
@@ -2786,7 +2716,6 @@ static boolean group_match_null_string_p(unsigned char **p, unsigned char *end,
 #define REG_UNSET_VALUE ((char *) -1)
 #define REG_UNSET(e) ((e) == REG_UNSET_VALUE)
 
-
 /* Macros for dealing with the split strings in re_match_2.  */
 
 #define MATCHING_IN_FIRST_STRING  (dend == end_match_1)
@@ -2804,13 +2733,11 @@ static boolean group_match_null_string_p(unsigned char **p, unsigned char *end,
       dend = end_match_2;                                              \
     }
 
-
 /* Test if at very beginning or at very end of the virtual concatenation
  * of `string1' and `string2'.  If only one string, it's `string2'.  */
 #define AT_STRINGS_BEG(d) ((d) == (size1 ? string1 : string2) || !size2)
 #define AT_STRINGS_END(d) ((d) == end2)
 
-
 /* Test if D points to a character which is word-constituent.  We have
  * two special cases to check for: if past the end of string1, look at
  * the first character in string2; and if before the beginning of
@@ -2826,7 +2753,6 @@ static boolean group_match_null_string_p(unsigned char **p, unsigned char *end,
   (AT_STRINGS_BEG (d) || AT_STRINGS_END (d)                            \
    || WORDCHAR_P (d - 1) != WORDCHAR_P (d))
 
-
 /* Free everything we malloc.  */
 #ifdef REGEX_MALLOC
 #define FREE_VAR(var) if (var) free (var); var = NULL
@@ -2848,7 +2774,6 @@ static boolean group_match_null_string_p(unsigned char **p, unsigned char *end,
 #define FREE_VARIABLES() alloca (0)
 #endif /* not REGEX_MALLOC */
 
-
 /* These values must meet several constraints.  They must not be valid
  * register values; since we have a limit of 255 registers (because
  * we use only one byte in the pattern for the register number), we can
@@ -3207,7 +3132,6 @@ restore_best_regs:
             DEBUG_PRINT1("EXECUTING no_op.\n");
             break;
 
-
             /* Match the next n pattern characters exactly.  The following
              * byte in the pattern defines n, and the n bytes after that
              * are the characters to match.  */
@@ -3233,7 +3157,6 @@ restore_best_regs:
             SET_REGS_MATCHED();
             break;
 
-
             /* Match any character except possibly a newline or a null.  */
         case anychar:
             DEBUG_PRINT1("EXECUTING anychar.\n");
@@ -3249,7 +3172,6 @@ restore_best_regs:
             d++;
             break;
 
-
         case charset:
         case charset_not: {
             register unsigned char c;
@@ -3276,7 +3198,6 @@ restore_best_regs:
             break;
         }
 
-
         /* The beginning of a group is represented by start_memory.
          * The arguments are the register number in the next byte, and the
          * number of groups inner to this one in the next.  The text
@@ -3321,7 +3242,6 @@ restore_best_regs:
             p += 2;
             break;
 
-
             /* The stop_memory opcode represents the end of a group.  Its
              * arguments are the same as start_memory's: the register
              * number, and the number of inner groups.  */
@@ -3444,7 +3364,6 @@ restore_best_regs:
             p += 2;
             break;
 
-
             /* \<digit> has been turned into a `duplicate' command which is
              * followed by the numeric value of <digit> as the register number.  */
         case duplicate: {
@@ -3506,7 +3425,6 @@ restore_best_regs:
         }
         break;
 
-
         /* begline matches the empty string at the beginning of the string
          * (unless `not_bol' is set in `bufp'), and, if
          * `newline_anchor' is set, after newlines.  */
@@ -3522,7 +3440,6 @@ restore_best_regs:
             /* In all other cases, we fail.  */
             goto fail;
 
-
             /* endline is the dual of begline.  */
         case endline:
             DEBUG_PRINT1("EXECUTING endline.\n");
@@ -3538,7 +3455,6 @@ restore_best_regs:
             }
             goto fail;
 
-
             /* Match at the very beginning of the data.  */
         case begbuf:
             DEBUG_PRINT1("EXECUTING begbuf.\n");
@@ -3546,7 +3462,6 @@ restore_best_regs:
                 break;
             goto fail;
 
-
             /* Match at the very end of the data.  */
         case endbuf:
             DEBUG_PRINT1("EXECUTING endbuf.\n");
@@ -3554,7 +3469,6 @@ restore_best_regs:
                 break;
             goto fail;
 
-
             /* on_failure_keep_string_jump is used to optimize `.*\n'.  It
              * pushes NULL as the value for the string on the stack.  Then
              * `pop_failure_point' will keep the current value for the
@@ -3580,7 +3494,6 @@ restore_best_regs:
             PUSH_FAILURE_POINT(p + mcnt, NULL, -2);
             break;
 
-
             /* Uses of on_failure_jump:
              *
              * Each alternative starts with an on_failure_jump that points
@@ -3631,7 +3544,6 @@ on_failure:
             PUSH_FAILURE_POINT(p + mcnt, d, -2);
             break;
 
-
             /* A smart repeat ends with `maybe_pop_jump'.
              * We change it to either `pop_failure_jump' or `jump'.  */
         case maybe_pop_jump:
@@ -3705,7 +3617,6 @@ on_failure:
             }
             /* Note fall through.  */
 
-
             /* The end of a simple repeat has a pop_failure_jump back to
              * its matching on_failure_jump, where the latter will push a
              * failure point.  The pop_failure_jump takes off failure
@@ -3732,7 +3643,6 @@ on_failure:
         }
         /* Note fall through.  */
 
-
         /* Unconditionally jump (without popping any failure points).  */
         case jump:
 unconditional_jump:
@@ -3742,14 +3652,12 @@ unconditional_jump:
             DEBUG_PRINT2("(to 0x%x).\n", p);
             break;
 
-
             /* We need this opcode so we can detect where alternatives end
              * in `group_match_null_string_p' et al.  */
         case jump_past_alt:
             DEBUG_PRINT1("EXECUTING jump_past_alt.\n");
             goto unconditional_jump;
 
-
             /* Normally, the on_failure_jump pushes a failure point, which
              * then gets popped at pop_failure_jump.  We will end up at
              * pop_failure_jump, also, and with a pattern of, say, `a+', we
@@ -3762,7 +3670,6 @@ unconditional_jump:
             PUSH_FAILURE_POINT(0, 0, -2);
             goto unconditional_jump;
 
-
             /* At the end of an alternative, we need to push a dummy failure
              * point in case we are followed by a `pop_failure_jump', because
              * we don't want the failure point for the alternative to be
@@ -3870,7 +3777,6 @@ unconditional_jump:
         }
         continue;              /* Successfully executed one pattern command; keep going.  */
 
-
         /* We goto here if a matching operation fails. */
 fail:
         if (!FAIL_STACK_EMPTY()) {     /* A restart point is known.  Restore to that state.  */
@@ -3971,7 +3877,6 @@ group_match_null_string_p(unsigned char **p, unsigned char *end, register_info_t
                  * So, we have to first go through the first (n-1)
                  * alternatives and then deal with the last one separately.  */
 
-
                 /* Deal with the first (n-1) alternatives, which start
                  * with an on_failure_jump (see above) that jumps to right
                  * past a jump_past_alt.  */
@@ -4017,13 +3922,11 @@ group_match_null_string_p(unsigned char **p, unsigned char *end, register_info_t
             }                  /* if mcnt > 0 */
             break;
 
-
         case stop_memory:
             assert(p1[1] == **p);
             *p = p1 + 2;
             return true;
 
-
         default:
             if (!common_op_match_null_string_p(&p1, end, reg_info))
                 return false;
@@ -4033,7 +3936,6 @@ group_match_null_string_p(unsigned char **p, unsigned char *end, register_info_t
     return false;
 }                              /* group_match_null_string_p */
 
-
 /* Similar to group_match_null_string_p, but doesn't deal with alternatives:
  * It expects P to be the first byte of a single alternative and END one
  * byte past the last. The alternative can contain groups.  */
@@ -4065,7 +3967,6 @@ alt_match_null_string_p(unsigned char *p, unsigned char *end, register_info_type
     return true;
 }                              /* alt_match_null_string_p */
 
-
 /* Deals with the ops common to group_match_null_string_p and
  * alt_match_null_string_p.
  *
@@ -4145,7 +4046,6 @@ common_op_match_null_string_p( unsigned char **p, unsigned char *end, register_i
     return true;
 }                              /* common_op_match_null_string_p */
 
-
 /* Return zero if TRANSLATE[S1] and TRANSLATE[S2] are identical for LEN
  * bytes; nonzero otherwise.  */
 
@@ -4163,7 +4063,6 @@ bcmp_translate(unsigned char const *s1, unsigned char const*s2, register int len
 \f
 /* Entry points for GNU code.  */
 
-\f
 /* POSIX.2 functions */
 
 /* regcomp takes a regular expression as a string and compiles it.
@@ -4257,7 +4156,6 @@ int cflags;
     return (int) ret;
 }
 
-
 /* regexec searches for a given pattern, specified by PREG, in the
  * string STRING.
  *
@@ -4326,7 +4224,6 @@ int eflags;
     return ret >= 0 ? (int) REG_NOERROR : (int) REG_NOMATCH;
 }
 
-
 /* Returns a message corresponding to an error code, ERRCODE, returned
  * from either regcomp or regexec.   We don't use PREG here.  */
 
@@ -4363,7 +4260,6 @@ regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size)
     return msg_size;
 }
 
-
 /* Free dynamically allocated space used by PREG.  */
 
 void
index 483c3a5855a4c06895624233abfa0b472853d247..cced650bcc09f4cf949f2240e3c0a3156656d092 100644 (file)
@@ -15,7 +15,6 @@
 #include <regex.h>
 #endif
 
-
 #else  /* USE_GNUREGEX */
 
 #ifdef __cplusplus
@@ -144,7 +143,6 @@ extern "C" {
      * If not set, then an unmatched ) is invalid.  */
 #define RE_UNMATCHED_RIGHT_PAREN_ORD (RE_NO_EMPTY_RANGES << 1)
 
-    \f
     /* Define combinations of the above bits for the standard possibilities.
      * (The [[[ comments delimit what gets put into the Texinfo file, so
      * don't delete them!)  */
@@ -216,7 +214,6 @@ extern "C" {
 #endif
 #define RE_DUP_MAX ((1 << 15) - 1)
 
-
     /* POSIX `cflags' bits (i.e., information for `regcomp').  */
 
     /* If this bit is set, then use extended regular expression syntax.
@@ -236,7 +233,6 @@ extern "C" {
      * If not set, then returns differ between not matching and errors.  */
 #define REG_NOSUB (REG_NEWLINE << 1)
 
-
     /* POSIX `eflags' bits (i.e., information for regexec).  */
 
     /* If this bit is set, then the beginning-of-line operator doesn't match
@@ -249,7 +245,6 @@ extern "C" {
     /* Like REG_NOTBOL, except for the end-of-line.  */
 #define REG_NOTEOL (1 << 1)
 
-
     /* If any error codes are removed, changed, or added, update the
      * `re_error_msg' table in regex.c.  */
     typedef enum {
@@ -352,7 +347,6 @@ extern "C" {
 
     typedef struct re_pattern_buffer regex_t;
 
-
     /* search.c (search_buffer) in Emacs needs this one opcode value.  It is
      * defined both in `regex.c' and here.  */
 #define RE_EXACTN_VALUE 1
@@ -360,7 +354,6 @@ extern "C" {
     /* Type for byte offsets within the string.  POSIX mandates this.  */
     typedef int regoff_t;
 
-
     /* This is the structure we store register match data in.  See
      * regex.texinfo for a full description of what registers match.  */
     struct re_registers {
@@ -369,7 +362,6 @@ extern "C" {
         regoff_t *end;
     };
 
-
     /* If `regs_allocated' is REGS_UNALLOCATED in the pattern buffer,
      * `re_match_2' returns information about at least this many registers
      * the first time a `regs' structure is passed.  */
@@ -377,7 +369,6 @@ extern "C" {
 #define RE_NREGS 30
 #endif
 
-
     /* POSIX specification for registers.  Aside from the different names than
      * `re_registers', POSIX uses an array of structures, instead of a
      * structure of arrays.  */
index b299d31b584878f3c762c6a81a8b1f051d93989f..17d63be04a5801ccef7e993bc16b40e2c8e9987f 100644 (file)
@@ -67,7 +67,6 @@ struct msghdr {
     int msg_flags;              /* Flags on received message.  */
 };
 
-
 struct iovec {
     void *iov_base;
     size_t iov_len;
@@ -79,7 +78,6 @@ struct sockaddr_un {
 # define SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path)        \
         + strlen ((ptr)->sun_path))
 
-
 #endif /* CMSG_SPACE */
 
 #ifndef SCM_RIGHTS
index 35fea545eb2165c3df3201e1da81ec07f991451c..6cb68d5423aefb3fa4f5b5204626d974c57a1126 100644 (file)
@@ -15,7 +15,6 @@
  * squid.h at the top line of your .cc file.
  */
 
-
 /******************************************************/
 /* Define the _SQUID_TYPE_ based on a guess of the OS */
 /* NP: this MUST come first within compat.h           */
 #endif
 #endif
 
-
-
 /*****************************************************/
 /* FDSETSIZE is messy and needs to be done before    */
 /* sys/types.h are defined.                          */
 /*****************************************************/
 #include "compat/fdsetsize.h"
 
-
 /*****************************************************/
 /* Global type re-definitions                        */
 /* this also takes care of the basic system includes */
@@ -76,7 +72,6 @@
 #include "compat/os/sunos.h"
 #include "compat/os/windows.h"
 
-
 /*****************************************************/
 /* portabilities shared between all platforms and    */
 /* components as found to be needed                  */
@@ -89,7 +84,6 @@
 /* cstdio has a bunch of problems with 64-bit definitions */
 #include "compat/stdio.h"
 
-
 /*****************************************************/
 /* component-specific portabilities                  */
 /*****************************************************/
index f7db82b93249dc896be9fa420228d65bb7e71322..db7439a2db9dc2d2d73d036ae36c4250d57dce8f 100644 (file)
@@ -86,8 +86,6 @@ extern void (*failure_notify) (const char *);
 # error Unknown select loop model!
 #endif
 
-
-
 #if !HAVE_STRUCT_RUSAGE
 /**
  * If we don't have getrusage() then we create a fake structure
@@ -103,7 +101,6 @@ struct rusage {
 };
 #endif /* !HAVE_STRUCT_RUSAGE */
 
-
 #ifndef min
 #ifdef __cplusplus
 /**
@@ -151,7 +148,6 @@ max(A const & lhs, A const & rhs)
  */
 #define w_space     " \t\n\r"
 
-
 #ifndef SQUID_NONBLOCK
 /* REQUIRED for the below logics. If they move this needs to as well */
 #if HAVE_FCNTL_H
@@ -192,7 +188,6 @@ max(A const & lhs, A const & rhs)
 #define SA_RESETHAND SA_ONESHOT
 #endif
 
-
 /**
  * com_err.h is a C header and needs explicit shielding, but not
  * all other system headers including this care to do so.
index 55ba6581d11954a66db06feef9a61e26a1e4241d..8062c4f511a05df6a999d7c519999e0ddd77edb8 100644 (file)
@@ -28,7 +28,6 @@
   private: /* dummy typedef so that the macro can still end with ';'*/         \
     typedef int CppUnitDummyTypedefForSemiColonEnding__
 
-
 #endif /* HAVE_UNIQUE_PTR */
 #endif /* HAVE_CPPUNIT_EXTENSIONS_HELPERMACROS_H */
 #endif /* SQUID_COMPAT_CPPUNIT_H */
index b262c28964b0f31a3b827b288ea90592ac657acb..312eae1fa827a2a95a89191b25f1622e3ebabdef 100644 (file)
@@ -17,7 +17,6 @@ SQUIDCEXTERN int debug_enabled;
 /* the macro overload style is really a gcc-ism */
 #ifdef __GNUC__
 
-
 #define debug(X...) \
                      if (debug_enabled) { \
                          fprintf(stderr, "%s(%d): pid=%ld :", __FILE__, __LINE__, (long)getpid() ); \
@@ -30,5 +29,4 @@ SQUIDCEXTERN int debug_enabled;
 void debug(const char *format,...);
 #endif
 
-
 #endif /* COMPAT_DEBUG_H */
index e46d929b7a1225566d5be87c0b9457148f5f4311..25909de2ba23ffc623324c209aab7a62da4a727e 100644 (file)
@@ -77,7 +77,6 @@
 #define FD_SETSIZE SQUID_MAXFD
 #endif
 
-
 /*
  * Trap unintentional use of fd_set. Must not be used outside the
  * select code as it only supports FD_SETSIZE number of filedescriptors
index 053294504f78fad1c305a110ab871f01740eb88b..fdae0356197bad08e2a57252c1691e933c589341 100644 (file)
@@ -16,6 +16,5 @@ SQUIDCEXTERN int xgetnameinfo(const struct sockaddr *sa,
                               int flags );
 #define getnameinfo    xgetnameinfo
 
-
 #endif /* HAVE_GETNAMEINFO */
 #endif /* _getnameinfo_h */
index 8a540ae9d632f4fab52b375c3064b1ca34b3ed63..079194ae8ae82756f94268101dba8d8d9f99d630 100644 (file)
@@ -9,7 +9,6 @@
  *--------------------------------------------------------------------------*
  ****************************************************************************/
 
-
 /*
  * Syslog facility on AIX requires some portability wrappers
  */
@@ -18,6 +17,5 @@
 #define _XOPEN_SOURCE_EXTENDED 1
 #endif
 
-
 #endif /* _SQUID_AIX_ */
 #endif /* SQUID_OS_AIX_H */
index 531e378e5b8de2694fdef94bdde8af5498029ae4..3990d5af6bba07e4391c461ccafc514e523d9c2a 100644 (file)
@@ -9,7 +9,6 @@
  *--------------------------------------------------------------------------*
  ****************************************************************************/
 
-
 #if USE_ASYNC_IO && defined(LINUXTHREADS)
 #define _SQUID_LINUX_THREADS_
 #endif
@@ -32,6 +31,5 @@
 //#define s6_addr16 __u6_addr.__u6_addr16
 #define s6_addr32 __u6_addr.__u6_addr32
 
-
 #endif /* _SQUID_FREEBSD_ */
 #endif /* SQUID_OS_FREEBSD_H */
index a90e4b2a097dea6169c221f6cb2b26383180ae69..6e05d4b96e85ae4d714cc5fcaad51f318f5963da 100644 (file)
@@ -9,7 +9,6 @@
  *--------------------------------------------------------------------------*
  ****************************************************************************/
 
-
 #if !defined(HAVE_GETPAGESIZE)
 #define HAVE_GETPAGESIZE
 #define getpagesize( )   sysconf(_SC_PAGE_SIZE)
index a5261dc4d3a8b1770bd3529d4a6bd9825f276f6f..da5111d7d8f6fb3797b0471f04513cfe4e4056da 100644 (file)
@@ -9,7 +9,6 @@
  *--------------------------------------------------------------------------*
  ****************************************************************************/
 
-
 #if USE_ASYNC_IO
 #define _SQUID_LINUX_THREADS_
 #endif
@@ -22,7 +21,6 @@
 #define HAVE_RES_INIT  HAVE___RES_INIT
 #endif
 
-
 /*
  * sys/capability.h is only needed in Linux apparently.
  *
index 7fd8240d8f903e39862aa7a40b94f59e2612607c..81dd83313a808af89b4acf4ca040101621e7c099 100644 (file)
@@ -9,7 +9,6 @@
  *--------------------------------------------------------------------------*
  ****************************************************************************/
 
-
 /*
  * Don't allow inclusion of malloc.h
  */
index 74c620b76aa6ef6c8744dbb454856b7e80334ba8..77ac50261515cb829b3f1bd05c429d5796a308fa 100644 (file)
@@ -104,7 +104,6 @@ extern "C" {
 #define        h_addr  h_addr_list[0]  /* address, for backward compatiblity */
     };
 
-
     /*
      * addrinfo introduced with IPv6 for Protocol-Independent Hostname
      * and Service Name Translation.
@@ -125,7 +124,6 @@ extern "C" {
         struct addrinfo *ai_next;      /* next structure in linked list */
     };
 
-
     /* addrinfo flags */
 #define        AI_PASSIVE      0x0008  /* intended for bind() + listen() */
 #define        AI_CANONNAME    0x0010  /* return canonical version of host */
@@ -137,7 +135,6 @@ extern "C" {
 #define        AI_ALL          0x0002  /* IPv6 and IPv4 mapped addresses */
 #define        AI_ADDRCONFIG   0x0004  /* AAAA or A records only if IPv6/IPv4 cnfg'd */
 
-
     /*
      * These were defined in RFC 2553 but not SUSv3
      * or RFC 3493 which obsoleted 2553.
@@ -185,7 +182,6 @@ extern "C" {
      */
 #define        SCOPE_DELIMITER '%'
 
-
     /*
      * Algorithm entry for /etc/inet/ipsecalgs which defines IPsec protocols
      * and algorithms.
index 72d943a321da3364f89d6ebffa9f814eefa51ac1..400cbd58c0146010fd66d15eb912b00b8884345a 100644 (file)
@@ -15,6 +15,5 @@
 *  need to be overridden.
 */
 
-
 #endif /* _SQUID_OS2_ */
 #endif /* SQUID_OS_OS2_H */
index 1242e74e3a93191d24babd47004dc1dedfaf655c..f83a3e37b8395de3fa88353823f32f505e9a6b1c 100644 (file)
@@ -14,6 +14,5 @@
  */
 #include <unix.h>
 
-
 #endif /* _SQUID_QNX_ */
 #endif /* SQUID_OS_QNX_H */
index ef5a722a585216643c3aa794a12752330bc1ad06..793e2662498cbe4ef2ff6ca054854fa69229b16c 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef SQUID_OS_SOLARIS_H
 #define SQUID_OS_SOLARIS_H
 
-
 #if _SQUID_SOLARIS_
 
 /*
index ad0775401f223ec520fd59163dab69f1b18a158a..b124c819059523a3b7e77d1fabd52e929938550b 100644 (file)
@@ -9,7 +9,6 @@
  *--------------------------------------------------------------------------*
  ****************************************************************************/
 
-
 /* O_NONBLOCK requires <fcntl.h> to be included first */
 #if HAVE_FCNTL_H
 #include <fcntl.h>
@@ -20,7 +19,5 @@
  */
 #define SQUID_NONBLOCK O_NDELAY
 
-
-
 #endif /* _SQUID_SUNOS_ */
 #endif /* SQUID_OS_SUNOS_H */
index 258e082ac34bf83db254db8d219518a07db3caf6..4b98346432940c5072ff1bed9f740bbff3147ed2 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef SQUID_COMPAT_OSDETECT_H
 #define SQUID_COMPAT_OSDETECT_H
 
-
 /****************************************************************************
  *--------------------------------------------------------------------------*
  * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...*
@@ -94,6 +93,4 @@
 
 #endif /* OS automatic detection */
 
-
-
 #endif /* SQUID_COMPAT_OSDETECT_H */
index 8ca7e2402bb8f99ec231a793b0e464ab77d809e7..a2f4e1b62125391170bbdb687e511618ee01c95b 100644 (file)
@@ -5,7 +5,6 @@
 #include <sys/sysctl.h>
 #endif
 
-
 /*
  * Some systems have filesystem-based resources and interpret segment names
  * as file paths. The so-called 'portable' "/name" format does not work well
index 873a44c40d7b3938fcc5fabc55c34e31378527de..112e4b48c0e50e1f65e67bf6e79f2f0ec204b3ed 100644 (file)
@@ -42,7 +42,6 @@ extern "C" {
 
 #endif /* HAVE_SHM */
 
-
 /// Determines whether segment names are iterpreted as full file paths.
 bool shm_portable_segment_name_is_path();
 
index 8b3ad48c20e67755721b11240cbf651b06f0ad6b..ab8ecf1d7496b868cd61a33624b318767fc74d35 100644 (file)
@@ -43,7 +43,6 @@
 #include <errno.h>
 #endif
 
-
 #ifndef INT64_MIN
 /* Native 64 bit system without strtoll() */
 #if defined(LONG_MIN) && (SIZEOF_LONG == 8)
@@ -64,7 +63,6 @@
 #endif
 #endif
 
-
 /*
  * Convert a string to a int64 integer.
  *
index 6e4e825b5fd2c388b30477faa3b0cb462f443f85..c9f1e70f849a81c5e8f652632b52b1ef098e0ae8 100644 (file)
@@ -46,7 +46,6 @@
 #endif
 #endif
 
-
 static char *
 _tmpnam(void)
 {
index 52b3a5a79e5e3ad3b411852d374c6a5951bcfd2f..59a32cbe630a43c257970e9fb9fc42da18ae4510 100644 (file)
 #include <netinet/in_systm.h>
 #endif
 
-
 /******************************************************/
 /* Typedefs for missing entries on a system           */
 /******************************************************/
 
-
 /*
  * ISO C99 Standard printf() macros for 64 bit integers
  * On some 64 bit platform, HP Tru64 is one, for printf must be used
index 0b825d215f2a5961565debe6b60e15c203d83a36..4b6c4319d065c580372f9064c65bfd4220d6c254 100644 (file)
@@ -49,7 +49,6 @@ extern "C" {
 #endif
 #define strndup(X) xstrndup((X))
 
-
 #ifdef __cplusplus
 }
 #endif
index b901f20d8f70a4e5d883f3c61d6381f69085e609..ae129da541dc56daa2febb939b42c130035b4483 100644 (file)
@@ -74,7 +74,6 @@ typedef unsigned int uint32;
 #define SIVALS(buf,pos,val) IVALS(buf,pos)=((int32)(val))
 #endif
 
-
 /* now the reverse routines - these are used in nmb packets (mostly) */
 #define SREV(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF))
 #define IREV(x) ((SREV(x)<<16) | (SREV((x)>>16)))
index 6192fe99e1ac57bab8279b0b86b1c01d8c366990..ddc995b442414c5e0acd252b00cb7a9d034aa266 100644 (file)
@@ -44,7 +44,6 @@ Check_fordenychange(void)
     Check_forfilechange(&DenyUsers);
 }
 
-
 /*
  * Check to see if the username provided by Squid appears in the denied
  * user list. Returns 0 if the user was not found, and 1 if they were.
index 7413a657450fba0d3fa5240183e5f5f4da6f98c7..e681b2add67d1132a1b733607116d04c01382397 100644 (file)
@@ -1,5 +1,4 @@
 
-
 typedef struct {
     char *path;
     char **names;
@@ -8,8 +7,6 @@ typedef struct {
     time_t LMT;
 } usersfile;
 
-
-
 int Read_usersfile(const char *path, usersfile * uf);
 int Check_userlist(usersfile * uf, char *User);
 void Check_forfilechange(usersfile * uf);
index a7cdde1adc3d3f0c8276b537a0d9c2b439160890..41b6f2052a15d53cf1eb7d3c4d9c5a25e1752205 100644 (file)
@@ -202,7 +202,6 @@ result_recv(uint32_t host, unsigned short udp_port, char *buffer, int length)
     return 0;
 }
 
-
 /*
  *    Generate a random vector.
  */
index fc16ed72ee7941588056a93ef417e5e627d1887d..8f3716ec8f2cca80f2df8480be91f9cfaff723a1 100644 (file)
@@ -33,7 +33,6 @@
 #define AUTH_PASS_LEN          16
 #define AUTH_STRING_LEN                128     /* maximum of 254 */
 
-
 typedef struct pw_auth_hdr {
     u_char             code;
     u_char             id;
@@ -55,7 +54,6 @@ typedef struct pw_auth_hdr {
 #define PW_TYPE_IPADDR                 2
 #define PW_TYPE_DATE                   3
 
-
 #define        PW_AUTHENTICATION_REQUEST       1
 #define        PW_AUTHENTICATION_ACK           2
 #define        PW_AUTHENTICATION_REJECT        3
index 9bea63a9888ca38a4690a9b4ba53651fdc35f2ab..568f0a6db62f90c26e191d7b9ea7cd7f803056fb 100644 (file)
@@ -52,7 +52,6 @@
 #include <string.h>
 #endif
 
-
 #define NMB_UNICAST            1
 #define NMB_BROADCAST  2
 
index 0a62f1d8183157ae49c6a692243154577a28b861..ebf6ea1c4e22842b826aab4f69b56f2a8517e793 100644 (file)
@@ -36,7 +36,6 @@
 
 #define PROGRAM_NAME "digest_ldap_auth"
 
-
 static void
 GetHHA1(RequestData * requestData)
 {
index 50e18f2931414868a1316237b4adab838553990d..f7d9244e0082fdcfa6b040e67910376bc60c4355 100644 (file)
@@ -295,8 +295,6 @@ retrydnattr:
     return NULL;
 }
 
-
-
 static void
 ldapconnect(void)
 {
index a13b71875707dbf42b352685368af9271e6d9fb1..812b4e82bb874fd5918f26670fb560f79f5a8e44 100644 (file)
@@ -85,7 +85,6 @@ static int berEncodePasswordData(
     const char    * utf8Pwd2Ptr = NULL;
     int     utf8Pwd2Size = 0;
 
-
     /* Convert objectDN and tag strings from Unicode to UTF-8 */
     utf8ObjSize = strlen(objectDN)+1;
     utf8ObjPtr = objectDN;
@@ -393,7 +392,6 @@ static int nmasldap_get_simple_pwd(
     return err;
 }
 
-
 /**********************************************************************
  Attempts to get the Universal Password
 **********************************************************************/
index 8f676e04547bdfc3cb2f131e8041dc2bcc4d6427..814a5df0238115de05b4178026fc143e1c61192c 100644 (file)
@@ -323,8 +323,6 @@ retrydnattr:
     return NULL;
 }
 
-
-
 static void
 ldapconnect(void)
 {
index 32d580a6098191ef0d504f022e118e8caa849526..6b5b9219e61ca61264ae594d1a96a2a3e5e2953f 100644 (file)
@@ -112,7 +112,6 @@ int User_Groups_Count = 0;
 wchar_t *My_NameTranslate(wchar_t *, int, int);
 char *Get_WIN32_ErrorMessage(HRESULT);
 
-
 void
 CloseCOM(void)
 {
@@ -120,7 +119,6 @@ CloseCOM(void)
         CoUninitialize();
 }
 
-
 HRESULT
 GetLPBYTEtoOctetString(VARIANT * pVar, LPBYTE * ppByte)
 {
@@ -151,7 +149,6 @@ GetLPBYTEtoOctetString(VARIANT * pVar, LPBYTE * ppByte)
     return hr;
 }
 
-
 wchar_t *
 Get_primaryGroup(IADs * pUser)
 {
@@ -210,7 +207,6 @@ Get_primaryGroup(IADs * pUser)
     return result;
 }
 
-
 char *
 Get_WIN32_ErrorMessage(HRESULT hr)
 {
@@ -225,7 +221,6 @@ Get_WIN32_ErrorMessage(HRESULT hr)
     return WIN32_ErrorMessage;
 }
 
-
 wchar_t *
 My_NameTranslate(wchar_t * name, int in_format, int out_format)
 {
@@ -281,7 +276,6 @@ My_NameTranslate(wchar_t * name, int in_format, int out_format)
     return wc;
 }
 
-
 wchar_t *
 GetLDAPPath(wchar_t * Base_DN, int query_mode)
 {
@@ -298,7 +292,6 @@ GetLDAPPath(wchar_t * Base_DN, int query_mode)
     return wc;
 }
 
-
 char *
 GetDomainName(void)
 {
@@ -349,7 +342,6 @@ GetDomainName(void)
     return DomainName;
 }
 
-
 int
 add_User_Group(wchar_t * Group)
 {
@@ -375,7 +367,6 @@ add_User_Group(wchar_t * Group)
     return 1;
 }
 
-
 /* returns 0 on match, -1 if no match */
 static int
 wccmparray(const wchar_t * str, const wchar_t ** array)
@@ -389,7 +380,6 @@ wccmparray(const wchar_t * str, const wchar_t ** array)
     return -1;
 }
 
-
 /* returns 0 on match, -1 if no match */
 static int
 wcstrcmparray(const wchar_t * str, const char **array)
@@ -407,7 +397,6 @@ wcstrcmparray(const wchar_t * str, const char **array)
     return -1;
 }
 
-
 HRESULT
 Recursive_Memberof(IADs * pObj)
 {
@@ -487,7 +476,6 @@ Recursive_Memberof(IADs * pObj)
     return hr;
 }
 
-
 static wchar_t **
 build_groups_DN_array(const char **array, char *userdomain)
 {
@@ -530,7 +518,6 @@ build_groups_DN_array(const char **array, char *userdomain)
     return wc_array;
 }
 
-
 /* returns 1 on success, 0 on failure */
 int
 Valid_Local_Groups(char *UserName, const char **Groups)
@@ -609,7 +596,6 @@ Valid_Local_Groups(char *UserName, const char **Groups)
     return result;
 }
 
-
 /* returns 1 on success, 0 on failure */
 int
 Valid_Global_Groups(char *UserName, const char **Groups)
@@ -780,7 +766,6 @@ process_options(int argc, char *argv[])
     return;
 }
 
-
 int
 main(int argc, char *argv[])
 {
@@ -824,7 +809,6 @@ main(int argc, char *argv[])
 
     atexit(CloseCOM);
 
-
     /* Main Loop */
     while (fgets(buf, HELPER_INPUT_BUFFER, stdin)) {
         if (NULL == strchr(buf, '\n')) {
index 03a74466e24ec649a9932ec59347d675c11698ff..48d869169672f55496d2e1ac840bd7e22e7e7815 100644 (file)
@@ -813,7 +813,6 @@ searchLDAP(LDAP * ld, char *group, char *login, char *extension_dn)
     }
 }
 
-
 int
 readSecret(const char *filename)
 {
index 2e372c52ceedf6cd3ba44ab4b7481ff095a70fd0..1cf53984b1b77af641a62ba8a60f863503c60b7e 100644 (file)
@@ -71,7 +71,6 @@
 #include "helpers/defines.h"
 #include "include/util.h"
 
-
 #if _SQUID_CYGWIN_
 #include <wchar.h>
 int _wcsicmp(const wchar_t *, const wchar_t *);
@@ -95,7 +94,6 @@ int _wcsicmp(const wchar_t *, const wchar_t *);
 #include <lm.h>
 #include <ntsecapi.h>
 
-
 int use_global = 0;
 int use_PDC_only = 0;
 char *program_name;
@@ -105,7 +103,6 @@ int use_case_insensitive_compare = 0;
 char *DefaultDomain = NULL;
 const char NTV_VALID_DOMAIN_SEPARATOR[] = "\\/";
 
-
 char *
 AllocStrFromLSAStr(LSA_UNICODE_STRING LsaStr)
 {
@@ -128,7 +125,6 @@ AllocStrFromLSAStr(LSA_UNICODE_STRING LsaStr)
     return target;
 }
 
-
 char *
 GetDomainName(void)
 {
@@ -309,7 +305,6 @@ Valid_Local_Groups(char *UserName, const char **Groups)
     return result;
 }
 
-
 /* returns 1 on success, 0 on failure */
 int
 Valid_Global_Groups(char *UserName, const char **Groups)
@@ -364,7 +359,6 @@ Valid_Global_Groups(char *UserName, const char **Groups)
     MultiByteToWideChar(CP_ACP, 0, machinedomain,
                         strlen(machinedomain) + 1, wszLocalDomain, sizeof(wszLocalDomain) / sizeof(wszLocalDomain[0]));
 
-
     /* Call the NetServerGetInfo function for local computer, specifying level 101. */
     dwLevel = 101;
     nStatus = NetServerGetInfo(NULL, dwLevel, (LPBYTE *) & pSrvBuf);
@@ -510,7 +504,6 @@ process_options(int argc, char *argv[])
     return;
 }
 
-
 int
 main(int argc, char *argv[])
 {
index c06fc6bd05d8567d5a9b57b48b2cbb3f20288d8d..34dbc69777f1ee1c6aa3b66db8bf3fadc89dabf6 100644 (file)
@@ -45,7 +45,6 @@
 #include <grp.h>
 #endif
 
-
 struct ip_user_dict {
     unsigned long address; // IP address (assumes IPv4)
     unsigned long netmask; // IP netmask
index 68773fe6549cf122c5ccce84a6c34bd84d0f9aef..5918258b85e89a73d59acaa5b448194a59354e17 100644 (file)
@@ -427,7 +427,6 @@ main(int argc, char *const argv[])
         }
     }
 
-
 }
 
 void
index a8342958de50c8c669177be700da9e3f9b2fddec..5edd83e3dad2b00c214f792b18acf6819d239ba4 100644 (file)
@@ -108,7 +108,6 @@ SQUIDCEXTERN int log_enabled;
 /* the macro overload style is really a gcc-ism */
 #ifdef __GNUC__
 
-
 #define log(X...) \
                      if (log_enabled) { \
                          fprintf(stderr, "%s(%d): pid=%ld :", __FILE__, __LINE__, (long)getpid() ); \
@@ -131,7 +130,6 @@ void error(char *format,...);
 void warn(char *format,...);
 #endif
 
-
 struct hstruct {
     char *host;
     int port;
@@ -144,7 +142,6 @@ struct ldap_creds {
     char *pw;
 };
 
-
 void init_args(struct main_args *margs);
 void clean_args(struct main_args *margs);
 const char *LogTime(void);
index 5f528c2ec7e8e729b64b7035c311ea58986b6bd6..f6f0868960eb319ceff3e8f55e247e38da9aafee 100644 (file)
@@ -152,7 +152,6 @@ hex_utf_char(struct main_args *margs, int flag)
             return NULL;
         }
 
-
         if (n == a - 1) {
             debug((char *) "%s| %s: WARNING: Invalid Hex UTF-8 string %s\n", LogTime(), PROGRAM, up);
             if (ul)
@@ -296,7 +295,6 @@ hex_utf_char(struct main_args *margs, int flag)
     return ul;
 }
 
-
 int
 create_gd(struct main_args *margs)
 {
index 070b0b9022b5fde147df22d9600ab9fef456b195..a6b058bf9b0793690bf09574eac04709350a4f82 100644 (file)
@@ -826,7 +826,6 @@ get_memberof(struct main_args *margs, char *user, char *domain, char *group)
     char *p;
     char *ldap_filter_esc = NULL;
 
-
     searchtime.tv_sec = SEARCH_TIMEOUT;
     searchtime.tv_usec = 0;
     /*
index d9916821b07924ad3a549c9a1c1acb9d81b8140f..cbd0ca9cc8044994dae854cb81f6186e44f3c680 100644 (file)
@@ -48,7 +48,6 @@ check_memberof(struct main_args *margs, char *user, char *domain)
     struct gdstruct *gr;
     int found = 0;
 
-
     /* Check users domain */
 
     gr = margs->groups;
index 42415c0b1e41740c7414182710559ac0c2647f2f..7f5335375291d383f31d5769938267624965177e 100644 (file)
@@ -158,7 +158,6 @@ free_hostname_list(struct hstruct **hlist, int nhosts)
         hp[i].host = NULL;
     }
 
-
     if (hp)
         xfree(hp);
     hp = NULL;
index eadd152883b10e34d9884a56a748b7b0a7e5017c..1fd26e2f5853ea08d555cbfb73a3cb8c0a09971b 100644 (file)
@@ -72,12 +72,10 @@ int lutil_sasl_interact(
 void lutil_sasl_freedefs(
     void *defaults);
 
-
 /*
  * SASL definitions for openldap support
  */
 
-
 typedef struct lutil_sasl_defaults_s {
     char *mech;
     char *realm;
index e5869e2e97aaa826b6fdcdac5c134c546c5090a2..16b7301f75985c6bf5ec9d6a9940bc8e0776fb16 100644 (file)
@@ -242,7 +242,6 @@ static void parseTime(const char *s, time_t *secs, time_t *start)
     *secs = (long)(periodLength * value);
 }
 
-
 /** This function parses the time quota file and stores it
  * in memory.
  */
index 0af0a0113c5a2cd20eb69427e71253a1a04dd24a..a7bba33f356af761aef5ec87c94d6903d107fbde 100644 (file)
@@ -143,7 +143,6 @@ usage(char *program)
             "-s                        Strip NT domain from usernames\n");
 }
 
-
 int
 main(int argc, char *argv[])
 {
index c578a9292871e8f433eb7442433c33aa9d099642..cbfc018aa4c3b3ab1d1f8b3b0c969c1f73cdf728 100644 (file)
@@ -206,8 +206,6 @@ check_gss_err(OM_uint32 major_status, OM_uint32 minor_status,
     return (0);
 }
 
-
-
 int
 main(int argc, char *const argv[])
 {
@@ -422,7 +420,6 @@ main(int argc, char *const argv[])
                                               GSS_C_NO_CHANNEL_BINDINGS,
                                               &client_name, NULL, &output_token, &ret_flags, NULL, NULL);
 
-
         if (output_token.length) {
             spnegoToken = (const unsigned char *) output_token.value;
             spnegoTokenLength = output_token.length;
index 2276f33c7bf2cb0d183244a544659d52ac9a289b..fb767902ec84d0b6d9f50734fc2c51acd5d5dcdc 100644 (file)
@@ -197,7 +197,6 @@ main(int argc, char *const argv[])
         return 1;
     }
 
-
     if  (( fpid = vfork()) < 0 ) {
         fprintf(stderr, "%s| %s: Failed first fork\n", LogTime(), PROGRAM);
         return 1;
@@ -278,7 +277,6 @@ main(int argc, char *const argv[])
     setbuf(FDNIN, NULL);
     setbuf(FDNOUT, NULL);
 
-
     while (1) {
         if (fgets(buf, sizeof(buf) - 1, stdin) == NULL) {
             if (ferror(stdin)) {
index 53e01ea6c1de2c0ac3c4568c27632d7540235041..054b9b81f4c21f19d59fd9c493f598b998de20e9 100644 (file)
@@ -163,7 +163,6 @@ Valid_Group(char *UserName, char *Group)
     return result;
 }
 
-
 char * AllocStrFromLSAStr(LSA_UNICODE_STRING LsaStr)
 {
     size_t len;
@@ -185,7 +184,6 @@ char * AllocStrFromLSAStr(LSA_UNICODE_STRING LsaStr)
     return target;
 }
 
-
 char * GetDomainName(void)
 
 {
@@ -368,7 +366,6 @@ usage()
             my_program_name);
 }
 
-
 void
 process_options(int argc, char *argv[])
 {
index e0caf0f9e2bc90efbc4863e734492eb1b305232c..f553016171dceb9bc13153f69cc53bf6eff09491 100644 (file)
@@ -56,7 +56,6 @@
 #include <time.h>
 #endif
 
-
 /************* CONFIGURATION ***************/
 
 #define DEAD_DC_RETRY_INTERVAL 30
@@ -94,7 +93,6 @@ void process_options(int argc, char *argv[]);
 const char * obtain_challenge(void);
 void manage_request(void);
 
-
 #define ENCODED_PASS_LEN 24
 #define MAX_USERNAME_LEN 255
 #define MAX_DOMAIN_LEN 255
@@ -117,7 +115,6 @@ int numcontrollers = 0;
 dc *current_dc;
 char smb_error_buffer[1000];
 
-
 /* Disconnects from the DC. A reconnection will be done upon the next request
  */
 void
@@ -159,7 +156,6 @@ init_challenge(char *domain, char *domain_controller)
     smberr = SMB_Get_Last_Error();
     SMB_Get_Error_Msg(smberr, errstr, 1000);
 
-
     if (handle == NULL) {      /* couldn't connect */
         debug("Couldn't connect to SMB Server. Error:%s\n", errstr);
         return 1;
@@ -257,7 +253,6 @@ ntlm_check_auth(ntlm_authenticate * auth, int auth_length)
     memcpy(user, tmp.str, tmp.l);
     *(user + tmp.l) = '\0';
 
-
     /* Authenticating against the NT response doesn't seem to work... */
     tmp = ntlm_fetch_string(&(auth->hdr), auth_length, &auth->lmresponse, auth->flags);
     if (tmp.str == NULL || tmp.l == 0) {
@@ -298,7 +293,6 @@ ntlm_check_auth(ntlm_authenticate * auth, int auth_length)
 
     /* TODO: check against empty password!!!!! */
 
-
     debug("checking domain: '%s', user: '%s', pass='%s'\n", domain, user, pass);
 
     rv = SMB_Logon_Server(handle, user, pass, domain, 1);
@@ -468,7 +462,6 @@ obtain_challenge()
     return NULL;
 }
 
-
 void
 manage_request()
 {
@@ -631,7 +624,6 @@ manage_request()
     return;
     /********* END ********/
 
-
 }
 
 int
index 4c5c06e3eebac15ab3dbdaf4a9e7ca2b6d8682f3..a7376416e25ccfa840715374bd41c1b7edf37ef5 100644 (file)
@@ -154,7 +154,6 @@ CbDataList<C>::tail()
     return last;
 }
 
-
 template <class C>
 bool
 CbDataList<C>::find (C const &toFind) const
index 6da91221fbc5fe730f22727fe70ce940e406ca42..ac1ce16de41d4608deef4e65edf5f9ee94f949be 100644 (file)
@@ -99,7 +99,6 @@ public:
     MemMeter inuse;
     MemMeter idle;
 
-
     /** history Allocations */
     mgb_t gb_allocated;
     mgb_t gb_oallocated;
@@ -439,5 +438,4 @@ MemAllocatorProxy::MemAllocatorProxy(char const *aLabel, size_t const &aSize) :
 {
 }
 
-
 #endif /* _MEM_POOL_H_ */
index 51a15c75c142ec53db567d6bb5d0b68ef1ab05ec..2999dd4620f8e9b274fb6d859271e8015700845a 100644 (file)
@@ -45,5 +45,4 @@ private:
     Stack<void *> freelist;
 };
 
-
 #endif /* _MEM_POOL_MALLOC_H_ */
index 84054b716b0e9fec7f31cedacb337dc41f9e38fa..2004f93a4dc7128e8d00a651a9be229376319126 100644 (file)
@@ -59,7 +59,6 @@ _SQUID_EXTERNNEW_ void operator delete[] (void *address) throw()
     xfree(address);
 }
 
-
 #endif /* __SUNPRO_CC */
 
 #endif /* SQUID_NEW_H */
index 593941249eb1b7807af20d9608a0f6ea361d72ce..f9cac49f077c0e4feb3673bf1e0348a1c3ef3040 100644 (file)
@@ -19,7 +19,6 @@ extern "C" {
     /// \return number of bytes filled in result.
     extern int base64_decode(char *result, unsigned int result_max_size, const char *encoded);
 
-
     // Encoding functions
 
     /// Calculate the buffer size required to hold the encoded form of
@@ -46,7 +45,6 @@ extern "C" {
     // Ensures a nul-terminated result. Will always return non-NULL.
     extern const char *old_base64_encode(const char *decoded);
 
-
 #ifdef __cplusplus
 }
 #endif
index c0bcb9846e2d5299f5c624465e8a49a9783b9367..86acc263db2315304fd34ef195ccefded62549ba 100644 (file)
@@ -85,7 +85,6 @@ enum {
 #define LEN_CONF LEN_SQ_CONF + 1
 #define LEN_CONF_INST LEN_SQ_CONF + 2
 
-
 /**
  * cacheStorageConfig group { cacheConfig 5 }
  */
@@ -112,7 +111,6 @@ enum {
     PERF_END
 };
 
-
 /* cacheSysPerf */
 enum {
     PERF_SYS_START            = 0,
index ae0c8b10e169bc20b726f626cd19f1d6d2562fcf..62dbaabe82ba6e4acb616d089b1c8208836aa37c 100644 (file)
@@ -54,7 +54,6 @@ typedef void * heap_t;
 typedef double heap_key;
 typedef heap_key heap_key_func(heap_t, heap_key);
 
-
 /*
  * Heap node.  Has a key value generated by a key_func, id (array index) so
  * it can be quickly found in its heap, and a pointer to a data object that
@@ -66,7 +65,6 @@ typedef struct _heap_node {
     heap_t data;
 } heap_node;
 
-
 /*
  * Heap object.  Holds an array of heap_node objects along with a heap size
  * (array length), the index of the last heap element, and a key generation
@@ -128,7 +126,6 @@ SQUIDCEXTERN heap_key heap_gen_key(heap * hp, heap_t dat);
 #define        heap_gen_key(hp,md)     ((hp)->gen_key((md),(hp)->age))
 #endif /* MACRO_DEBUG */
 
-
 /*
  * Extract the minimum (root) element and maintain the heap property.
  * Returns the data pointed to by the root node, which the caller must
index d94ab98ffcfdf41db8f6dc04fb90331d8a5c40ef..1d33fb3a04f7c6e0b30d05dafb4cf3b545b6c43c 100644 (file)
@@ -138,7 +138,6 @@ struct squid_radix_node_head {
     struct squid_radix_node rnh_nodes[3];      /* empty tree for common case */
 };
 
-
 SQUIDCEXTERN void squid_rn_init (void);
 
 SQUIDCEXTERN int squid_rn_inithead(struct squid_radix_node_head **, int);
index a8b71a12f0830414cf864217dd3a21ebe837322c..c6df50319e84720bbdaf8ed256bd978701a2c72b 100644 (file)
@@ -118,7 +118,6 @@ SQUIDCEXTERN const char * rfc1035ErrorMessage(int n);
 #define RFC1035_TYPE_PTR 12
 #define RFC1035_CLASS_IN 1
 
-
 /* Child Library RFC3596 Depends on some otherwise internal functions */
 SQUIDCEXTERN int rfc1035HeaderPack(char *buf,
                                    size_t sz,
index de7ade4a3c516581d6766e5f638a0c4825488569..187d5c36e6f320be0c815c230c766172d3ca7a84 100644 (file)
@@ -50,7 +50,6 @@ extern "C" {
      * Suitable for safely encoding an absolute URL which may be encoded but is not trusted. */
 #define rfc1738_escape_unescaped(x)  rfc1738_do_escape(x, RFC1738_ESCAPE_UNSAFE|RFC1738_ESCAPE_CTRLS|RFC1738_ESCAPE_NOPERCENT)
 
-
     /**
      * Unescape a URL string according to RFC 1738 specification.
      * String is unescaped in-place
index 49e71e91440a383bda4a5ad519b8ec48b2487559..07e34a582836807de4327d78b64e6b8aaf8277fd 100644 (file)
@@ -12,7 +12,6 @@
  * to prevent squid knowing the users password (idea suggested in RFC 2617).
  */
 
-
 /*
  * $Id$
  *
index 0f9f6e538b9a74d984af6a63633a3e68886d0d75..475dcb6ff5b3a00482923c7b9f6f2acc9ea00e47 100644 (file)
@@ -43,5 +43,4 @@
 
 SQUIDCEXTERN int rfc2671RROptPack(char *buf, size_t sz, ssize_t edns_sz);
 
-
 #endif /* SQUID_RFC3596_H */
index 573ea8d7e172e92487bcc030f432f3287d7a9410..3c8517ef3f27ddf376dd5c979e4c595c9acd1efc 100644 (file)
@@ -27,8 +27,6 @@ SOFTWARE.
  * snmp_api.h - API for access to snmp.
  */
 
-
-
 /*
  * Set fields in session and pdu to the following to get a default or unconfigured value.
  */
@@ -80,7 +78,6 @@ extern "C" {
      */
     int snmp_close(struct snmp_session *);
 
-
     /*
      * int snmp_send(session, pdu)
      *     struct snmp_session *session;
@@ -108,7 +105,6 @@ extern "C" {
      */
     void snmp_read(fd_set *);
 
-
     /*
      * int snmp_select_info(numfds, fdset, timeout, block)
      * int *numfds;
@@ -150,7 +146,6 @@ extern "C" {
      */
     void snmp_timeout(void);
 
-
     /*
      * This routine must be supplied by the application:
      *
@@ -166,10 +161,6 @@ extern "C" {
      * Operations are defined below:
      */
 
-
-
-
-
     void snmp_api_stats(void *);
 #endif
 #ifdef __cplusplus
index f03f4535a21c302adec0124a83c7ec7c23f1dc5b..67606153c559d47975427b581dd1cfcf8e45c610 100644 (file)
@@ -11,13 +11,11 @@ extern "C" {
     /* call a function at regular intervals (in seconds): */
     extern void snmp_alarm(int ival, void (*handler) (void));
 
-
     /* service for filedescriptors: */
 
     extern void fd_add(int fd, void (*func) (int fd));
     extern void fd_service(void);
 
-
     /* ---------------------------------------------------------------------- */
 
     /*
@@ -26,7 +24,6 @@ extern "C" {
      * Copyright (c) 1997 FT/CNET/DES/GRL Olivier Montanuy
      */
 
-
     /* Function to safely copy a string, and ensure the last
      * character is always '\0'. */
     void strcpy_safe(char *str, int str_len, char *val);
index 020919f09bcc7f28665c5e836786a4aa0af7ffe6..abb04c0dda164f340c21a9e337baca27f18a847e 100644 (file)
@@ -74,7 +74,6 @@ extern "C" {
 #define SMI_OPAQUE     (ASN_APPLICATION | 4)   /* OCTET STRING */
 #define SMI_COUNTER64  (ASN_APPLICATION | 6)   /* INTEGER */
 
-
     /* constants for enums for the MIB nodes
      * cachePeerAddressType (InetAddressType / ASN_INTEGER)
      * cacheClientAddressType (InetAddressType / ASN_INTEGER)
@@ -93,7 +92,6 @@ extern "C" {
 
 #endif                          /* INETADDRESSTYPE_ENUMS */
 
-
     /*
      * RFC 1905: Protocol Operations for SNMPv2
      *
index b31b2caae0e65b12414e882324f315a366a486d1..253cede4047db53f7b82197e8c0a502b871be890 100644 (file)
@@ -79,7 +79,6 @@ public:
     size_t elements;
 };
 
-
 SQUIDCEXTERN int splayLastResult;
 
 SQUIDCEXTERN splayNode *splay_insert(void *, splayNode *, splayNode::SPLAYCMP *);
index afa73794f6387f00d2ac12845b920292e05e3d4d..7e916417646c1c97beb860d23d0bb6a7c0e24c75 100644 (file)
@@ -39,7 +39,6 @@
  *     we do not need such an interface yet.
  */
 
-
 #include "squid.h"
 #include "Array.h"
 
index d6067cd9ac844984b5df1f67f51ddb8266f12bd7..a51e4516878f3a6bedc62694199aac076f95e600 100644 (file)
@@ -33,7 +33,6 @@
  *
  */
 
-
 #include "squid.h"
 #if HAVE_ASSERT_H
 #include <assert.h>
index b21e519d56ca5916244ecdbc8a6380058ad1fdfa..370bb19035c8ead1e91aeecb76840e73e24c6ce2 100644 (file)
@@ -16,7 +16,6 @@
 #include <stdlib.h>
 #endif
 
-
 static void base64_init(void);
 
 static int base64_initialized = 0;
@@ -25,7 +24,6 @@ static int base64_initialized = 0;
 int base64_value[BASE64_VALUE_SZ];
 const char base64_code[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
 
-
 static void
 base64_init(void)
 {
index cc3c2c322d8dcbbe52b420bd6d0d6661dec699be..0f0a39bfb6ea56b00e039979e128f47bd9120e3f 100644 (file)
@@ -66,7 +66,6 @@
 #define SUFFIX ("*")
 #define        SLASH   ("\\")
 
-
 /*
  * opendir
  *
@@ -149,7 +148,6 @@ opendir(const CHAR * szPath)
     return nd;
 }
 
-
 /*
  * readdir
  *
@@ -211,7 +209,6 @@ readdir(DIR * dirp) {
     return (struct dirent *) 0;
 }
 
-
 /*
  * closedir
  *
index 75a6a117cef0fb9b510e9d7ad9c42783e71f396c..8809f695843ad494c81d5343b7f326a9ab978cfd 100644 (file)
@@ -30,7 +30,6 @@
 
 static char schluessel[16][KS];
 
-
 static char PC1[] = {
     56, 48, 40, 32, 24, 16, 8, 0,
     57, 49, 41, 33, 25, 17, 9, 1,
@@ -42,7 +41,6 @@ static char PC1[] = {
     27, 19, 11, 3
 };
 
-
 static char PC2[] = {
     13, 16, 10, 23, 0, 4, 2, 27,
     14, 5, 20, 9, 22, 18, 11, 3,
@@ -52,7 +50,6 @@ static char PC2[] = {
     33, 52, 45, 41, 49, 35, 28, 31
 };
 
-
 static char IP[] = {
     57, 49, 41, 33, 25, 17, 9, 1,
     59, 51, 43, 35, 27, 19, 11, 3,
@@ -64,7 +61,6 @@ static char IP[] = {
     62, 54, 46, 38, 30, 22, 14, 6
 };
 
-
 static char EP[] = {
     7, 39, 15, 47, 23, 55, 31, 63,
     6, 38, 14, 46, 22, 54, 30, 62,
@@ -76,7 +72,6 @@ static char EP[] = {
     0, 32, 8, 40, 16, 48, 24, 56
 };
 
-
 static char E0[] = {
     31, 0, 1, 2, 3, 4, 3, 4,
     5, 6, 7, 8, 7, 8, 9, 10,
@@ -86,10 +81,8 @@ static char E0[] = {
     27, 28, 27, 28, 29, 30, 31, 0
 };
 
-
 static char E[KS];
 
-
 static char PERM[] = {
     15, 6, 19, 20, 28, 11, 27, 16,
     0, 14, 22, 25, 4, 17, 30, 9,
@@ -97,7 +90,6 @@ static char PERM[] = {
     18, 12, 29, 5, 21, 10, 3, 24
 };
 
-
 static char S_BOX[][64] = {
     {
         14, 0, 4, 15, 13, 7, 1, 4, 2, 14, 15, 2, 11, 13, 8, 1,
index 3c12e3484fc69299b0f8b9f9e20b2280aa60e672..e11da0b07da8e03489be4a30c80a99178f8ca990 100644 (file)
@@ -34,7 +34,6 @@
 #include "squid.h"
 #include "getfullhostname.h"
 
-
 #if HAVE_UNISTD_H
 /* for gethostname() function */
 #include <unistd.h>
index 59366c46293b88d29ee846a1038ad3988f8d5306..fc8c0ef1d24aed1a4cadc4e58548d2aa8a97aa6c 100644 (file)
@@ -355,7 +355,6 @@ hashKeyStr(hash_link * hl)
     return (const char *) hl->key;
 }
 
-
 #if USE_HASH_DRIVER
 /**
  *  hash-driver - Run with a big file as stdin to insert each line into the
@@ -408,7 +407,6 @@ main(void)
     }
     printf("done walking hash table...\n");
 
-
     printf("driver finished.\n");
     exit(0);
 }
index 35f3fbc26b3ca3fa10d625677e37d277e850c737..25973dae2201efaba85299278ef69e6dbd55fc32 100644 (file)
@@ -112,7 +112,6 @@ new_heap(int initSize, heap_key_func gen_key)
     return hp;
 }
 
-
 /*
  * Free memory used by a heap.  Does not free the metadata pointed to by the
  * heap nodes, only the heap's internal memory.
@@ -159,7 +158,6 @@ heap_insert(heap * hp, void *dat)
     return elm;
 }
 
-
 /*
  * Delete ELM while maintaining the heap property. ELM may be modified.
  * Assumes that ELM is not NULL and frees it.  Returns the data pointed to
@@ -207,7 +205,6 @@ heap_gen_key(heap * hp, heap_t dat)
 }
 #endif /* heap_gen_key */
 
-
 /*
  * Returns the data of the node with the largest KEY value and removes that
  * node from the heap.  Returns NULL if the heap was empty.
@@ -230,7 +227,6 @@ heap_extractmin(heap * hp)
     return data;
 }
 
-
 /*
  * Remove the last node in HP.  Frees the heap internal structure and
  * returns the data pointes to by the last node.
@@ -246,7 +242,6 @@ heap_extractlast(heap * hp)
     return data;
 }
 
-
 /*
  * The semantics of this routine is the same as the followings:
  *        heap_delete(hp, elm);
@@ -270,7 +265,6 @@ heap_update(heap * hp, heap_node * elm, void *dat)
     return old;
 }
 
-
 /*
  * A pointer to the root node's DATA.
  */
@@ -281,7 +275,6 @@ heap_peepmin(heap * hp)
     return hp->nodes[0]->data;
 }
 
-
 /*
  * The KEY of the root node.
  */
@@ -292,7 +285,6 @@ heap_peepminkey(heap * hp)
     return hp->nodes[0]->key;
 }
 
-
 /*
  * Same as heap_peep except that this return the KEY of the node.
  * Only meant for iteration.
@@ -304,7 +296,6 @@ heap_peepkey(heap * hp, int n)
     return hp->nodes[n]->key;
 }
 
-
 /*
  * A pointer to Nth node's DATA. The caller can iterate through HP by
  * calling this routine.  eg. Caller can execute the following code:
@@ -320,7 +311,6 @@ heap_peep(heap * hp, int n)
     return data;
 }
 
-
 #ifndef        heap_nodes
 /*
  * Current number of nodes in HP.
@@ -332,7 +322,6 @@ heap_nodes(heap * hp)
 }
 #endif /* heap_nodes */
 
-
 #ifndef        heap_empty
 /*
  * Determine if the heap is empty.  Returns 1 if HP has no elements and 0
@@ -381,7 +370,6 @@ _heap_ify_down(heap * hp, heap_node * elm)
     }
 }
 
-
 /*
  * Maintain the heap property above ELM.  Caller has locked the heap.
  */
@@ -397,7 +385,6 @@ _heap_ify_up(heap * hp, heap_node * elm)
     }
 }
 
-
 /*
  * Swap the position of ELM1 and ELM2 in heap structure. Their IDs are also
  * swapped.
@@ -412,8 +399,6 @@ _heap_swap_element(heap * hp, heap_node * elm1, heap_node * elm2)
     hp->nodes[elm2->id] = elm2;
 }
 
-
-
 #ifdef NOTDEF
 /*
  * Copy KEY and DATA fields of SRC to DEST. ID field is NOT copied.
@@ -427,7 +412,6 @@ _heap_copy_element(heap_node * src, heap_node * dest)
 
 #endif /* NOTDEF */
 
-
 /*
  * True if HP needs to be grown in size.
  */
@@ -439,7 +423,6 @@ _heap_should_grow(heap * hp)
     return 0;
 }
 
-
 /*
  * Grow HP.
  */
@@ -463,7 +446,6 @@ _heap_grow(heap * hp)
     hp->size = newSize;
 }
 
-
 /*
  * True if a node with ID exists in HP.
  */
index 3b90f87d4dd8059e156e894716aafd568ac15b0d..2df951595999639ecc3055cc9c5c542e1c223341 100644 (file)
@@ -14,7 +14,6 @@
 #include <time.h>
 #endif
 
-
 #define ASCII_DIGIT(c) ((c)-48)
 
 time_t
index 5d991886c53cebc98faf73e5ed91fbce454804bb..d07e0d7f1060fa7a672dd377bc00684253cdbe6e 100644 (file)
@@ -186,14 +186,12 @@ ntlm_add_to_payload(const ntlmhdr *packet_hdr,
     (*payload_length) += toadd_length;
 }
 
-
 /* ************************************************************************* */
 /* Negotiate Packet functions */
 /* ************************************************************************* */
 
 // ?
 
-
 /* ************************************************************************* */
 /* Challenge Packet functions */
 /* ************************************************************************* */
index 5dd2753ce8b315dc5900402d2f7ae895767b950b..5b65e7d05fd4f29096672c80a162525e8b00b714 100644 (file)
@@ -108,7 +108,6 @@ extern "C" {
     /** Debug dump the given flags field to stderr */
     void ntlm_dump_ntlmssp_flags(const uint32_t flags);
 
-
     /* ************************************************************************* */
     /* Packet and Payload structures and handling functions */
     /* ************************************************************************* */
@@ -144,7 +143,6 @@ extern "C" {
                              const char *toadd,
                              const int toadd_length);
 
-
     /* ************************************************************************* */
     /* Negotiate Packet structures and functions */
     /* ************************************************************************* */
@@ -173,7 +171,6 @@ extern "C" {
         char payload[256];     /**< String data */
     } ntlm_negotiate;
 
-
     /* ************************************************************************* */
     /* Challenge Packet structures and functions */
     /* ************************************************************************* */
@@ -210,7 +207,6 @@ extern "C" {
                              const int challenge_nonce_len,
                              const uint32_t flags);
 
-
     /* ************************************************************************* */
     /* Authenticate Packet structures and functions */
     /* ************************************************************************* */
@@ -234,7 +230,6 @@ extern "C" {
                          char *domain,
                          const int32_t size);
 
-
 #if __cplusplus
 }
 #endif
index 7a6ec7ca1b290fa3d7771035819b5fd0e6e93885..5c1107d75879a5b50186b12abb503ed610f9ad26 100644 (file)
 
 #if USE_XPROF_STATS
 
-
 #if HAVE_ASSERT_H
 #include <assert.h>
 #endif
@@ -136,7 +135,6 @@ TimersArray *xprof_Timers = NULL;
 
 /* Private stuff */
 
-
 /* new stuff */
 #define        MAXSTACKDEPTH   512
 
index 512b31a4958d38142a6417a968939cbd12c62f15..395f65aad57d1869b1cfc8f75d300bc51e97b059 100644 (file)
@@ -32,7 +32,6 @@
  *
  */
 
-
 /*
  * Copyright (c) 1988, 1989, 1993
  *      The Regents of the University of California.  All rights reserved.
@@ -123,7 +122,6 @@ static char *rn_zeros, *rn_ones;
 #define rm_mask rm_rmu.rmu_mask
 #define rm_leaf rm_rmu.rmu_leaf        /* extra field would make 32 bytes */
 
-
 /* Helper macros */
 #define squid_Bcmp(a, b, l) (l == 0 ? 0 : memcmp((caddr_t)(a), (caddr_t)(b), (u_long)l))
 #define squid_R_Malloc(p, t, n) (p = (t) xmalloc((unsigned int)(n)))
index 6afc3dff623bc2f1f1979273d8f1ec4d70ace5fd..45ce96afa4faf28f530858210aa8101946eb538d 100644 (file)
@@ -78,8 +78,6 @@
 #define RFC1035_UNPACK_DEBUG  (void)0
 #endif
 
-
-
 /*
  * rfc1035HeaderPack()
  *
index e877bef046d0ab7efb563cd9cfb4ecb8f3bd7d99..23160fac49955de4a3850bbb7fd4984939ef651d 100644 (file)
@@ -63,7 +63,6 @@ static const char *month_names[12] = {
     "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
 };
 
-
 static int
 make_num(const char *s)
 {
index 9cda34997639ea996fbded869ff6f61dd2db7184..200f030abfe74e035ae305c9c87a8987f5318725 100644 (file)
@@ -11,7 +11,6 @@
  * to prevent squid knowing the users password (idea suggested in RFC 2617).
  */
 
-
 /*
  * $Id$
  *
@@ -104,7 +103,6 @@ CvtBin(const HASHHEX Hex, HASH Bin)
     }
 }
 
-
 /* calculate H(A1) as per spec */
 void
 DigestCalcHA1(
index fad37024a5ae5e4c1d98b2fcd2d88f2f7b8d6747..dc60348ec65caf6e2dca5380ca6018920801fc93 100644 (file)
@@ -152,7 +152,6 @@ rfc3596BuildAAAAQuery(const char *hostname, char *buf, size_t sz, unsigned short
     return rfc3596BuildHostQuery(hostname, buf, sz, qid, query, RFC1035_TYPE_AAAA, edns_sz);
 }
 
-
 /**
  * Builds a message buffer with a QUESTION to lookup PTR records
  * for an address.  Caller must allocate 'buf' which should
@@ -196,7 +195,6 @@ rfc3596BuildPTRQuery6(const struct in6_addr addr, char *buf, size_t sz, unsigned
     return rfc3596BuildHostQuery(rev, buf, sz, qid, query, RFC1035_TYPE_PTR, edns_sz);
 }
 
-
 #if DRIVER
 
 /* driver needs the rfc1035 code _without_ the main() */
@@ -253,7 +251,6 @@ main(int argc, char *argv[])
         return 1;
     }
 
-
     memset(&S, '\0', sizeof(S));
 
     if (prefer == 6) {
index de91c4574f3c0286c830ec4810be907be185bcf4..d8ddd8ea6d2884e1438cf8011a1be227223e6862 100644 (file)
@@ -40,7 +40,6 @@
 #define PVAL(buf,pos) ((unsigned)CVAL(buf,pos))
 #define SCVAL(buf,pos,val) (CVAL(buf,pos) = (val))
 
-
 #if CAREFUL_ALIGNMENT
 #define SVAL(buf,pos) (PVAL(buf,pos)|PVAL(buf,(pos)+1)<<8)
 #define IVAL(buf,pos) (SVAL(buf,pos)|SVAL(buf,(pos)+2)<<16)
@@ -69,7 +68,6 @@
 #define SIVALS(buf,pos,val) IVALS(buf,pos)=((int32)(val))
 #endif
 
-
 /* now the reverse routines - these are used in nmb packets (mostly) */
 #define SREV(x) ((((x)&0xFF)<<8) | (((x)>>8)&0xFF))
 #define IREV(x) ((SREV(x)<<16) | (SREV((x)>>16)))
index 219f56239b29628c5fb89e48eea7cc6441414b24..66beb302f4ad34e1a8d1f5ae6ed8d79f1ad48700 100644 (file)
@@ -169,7 +169,6 @@ RFCNB_Discard_Rest(struct RFCNB_Con *con, int len)
 
 }
 
-
 /* Send an RFCNB packet to the connection.
  *
  * We just send each of the blocks linked together ...
@@ -191,7 +190,6 @@ RFCNB_Put_Pkt(struct RFCNB_Con *con, struct RFCNB_Pkt *pkt, int len)
     /* Try to send the data ... We only send as many bytes as len claims */
     /* We should try to stuff it into an IOVEC and send as one write     */
 
-
     pkt_ptr = pkt;
     len_sent = tot_sent = 0;    /* Nothing sent so far */
     i = 0;
@@ -267,7 +265,6 @@ RFCNB_Put_Pkt(struct RFCNB_Con *con, struct RFCNB_Pkt *pkt, int len)
  *
  */
 
-
 int
 RFCNB_Get_Pkt(struct RFCNB_Con *con, struct RFCNB_Pkt *pkt, int len)
 {
index 65fb9d08d5844e574cb2825afa1f0db2cac4180f..31e9ce7b929f089cce58b26a065332c751dd433c 100644 (file)
@@ -127,7 +127,6 @@ typedef struct RFCNB_Sess_Pkt {
     char calling_name[33];
 } RFCNB_Sess_Pkt;
 
-
 typedef struct RFCNB_Nack_Pkt {
     struct RFCNB_Hdr hdr;
     unsigned char error;
index f0cedca6a5bc2174390e749b2413e51349e920eb..47abdca38344c819eb71f1295e2efb9c27e6f0cd 100644 (file)
@@ -468,7 +468,6 @@ off_t SMB_Lseek(SMB_File *File_Handle, off_t offset, int whence)
 
 }
 
-
 /* Write numbytes from data to the file pointed to by the File_Handle at */
 /* the offset in the File_Handle.                                        */
 
@@ -1195,7 +1194,6 @@ int SMB_Search(SMB_Tree_Handle tree,
 
     }
 
-
     /* Now plug in the bits we need */
 
     memset(SMB_Hdr(pkt), 0, SMB_search_len);
@@ -1224,8 +1222,6 @@ int SMB_Search(SMB_Tree_Handle tree,
     strcpy(p+1, dir_name);
     p = p + strlen(dir_name) + 2;  /* Skip the null */
 
-
-
     *p = SMBvariableblockID;
     p = p + 1;
 
index ea857864d6554d20b3c241955b574e63cdf99e4a..6813ccdf0795578c5b6efa0fdb5021d61f3d2dde 100644 (file)
@@ -31,7 +31,6 @@
 /* ensure we don't overwrite strings when not passed enough space. Also */
 /* added code to say unknown error codes if we see any                  */
 
-
 #include <stdio.h>
 
 typedef struct {
index 47f1be256b0954f74c445090f979bc4e7cb0d7ab..2785af0c3a264ad0832597de012bacdc2e44853b 100644 (file)
@@ -24,7 +24,6 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
 /* NOTES:
  *
  * This code makes no attempt to be fast! In fact, it is a very
@@ -99,7 +98,6 @@ static int perm5[32] = {16, 7, 20, 21,
                         22, 11, 4, 25
                        };
 
-
 static int perm6[64] = {40, 8, 48, 16, 56, 24, 64, 32,
                         39, 7, 47, 15, 55, 23, 63, 31,
                         38, 6, 46, 14, 54, 22, 62, 30,
@@ -110,7 +108,6 @@ static int perm6[64] = {40, 8, 48, 16, 56, 24, 64, 32,
                         33, 1, 41, 9, 49, 17, 57, 25
                        };
 
-
 static int sc[16] = {1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1};
 
 static int sbox[8][4][16] = {
@@ -297,7 +294,6 @@ str_to_key(unsigned char *str, unsigned char *key)
     }
 }
 
-
 static void
 smbhash(unsigned char *out, unsigned char *in, unsigned char *key)
 {
index 9604daee2f04af02f4a286f12edfe28da0a1830c..2496d867b41570f5eddfc8bfd35ae1c46398af5d 100644 (file)
@@ -66,7 +66,6 @@ int SMBapi_NetUserPasswordSet(SMB_Tree_Handle tree, char *user,
         pad_api_name = TRUE;
     }
 
-
     pkt_len = pkt_len + param_len;
 
     /* Now allocate space for the packet, build it and send it */
@@ -198,7 +197,6 @@ int SMBapi_NetUserPasswordSet(SMB_Tree_Handle tree, char *user,
 #define SMB_LMAPI_SUI_DESC "zWsTPWW"
 #define SMB_LMAPI_SUI_DATA_DESC "B16"
 
-
 /* Set user info ... specifically, password */
 
 int SMBapi_NetSetUserInfo(SMB_Tree_Handle tree, char *user,
@@ -382,5 +380,4 @@ int SMBapi_NetShareEnum(SMB_Tree_Handle tree, char *enum_buf, int bufsiz,
 
 {
 
-
 }
index 5d3beffd12f4861808e2f281cd5d421309a08a9f..5640da5efb9c8a4e0b9e204aaa243a049d54cac4 100644 (file)
@@ -497,7 +497,6 @@ typedef enum {SMB_State_NoState, SMB_State_Stopped, SMB_State_Started} SMB_State
 /* The following two arrays need to be in step!              */
 /* We must make it possible for callers to specify these ... */
 
-
 extern int SMB_Types[];
 
 typedef struct SMB_Status {
index 1040fd433b33c48fb869f355ff8734fae40a8436..04ac0c591d2e1ea0fa3caad40deb7f73dd7bcc2e 100644 (file)
@@ -74,7 +74,6 @@ void SMB_Print_Pkt(FILE fd, RFCNB_Pkt *pkt, BOOL command, int Offset, int Len)
 
     /* Print the other bits in the header                  */
 
-
     /* etc                                                 */
 
 }
@@ -223,7 +222,6 @@ int SMB_Figure_Protocol(const char *dialects[], int prot_index)
 
 }
 
-
 /* Negotiate the protocol we will use from the list passed in Prots       */
 /* we return the index of the accepted protocol in NegProt, -1 indicates  */
 /* none acceptible, and our return value is 0 if ok, <0 if problems       */
@@ -303,7 +301,6 @@ int SMB_Negotiate(SMB_Handle_Type Con_Handle, const char *Prots[])
 
     if (RFCNB_Send(Con_Handle -> Trans_Connect, pkt, pkt_len) < 0) {
 
-
 #ifdef DEBUG
         fprintf(stderr, "Error sending negotiate protocol\n");
 #endif
index d32406a5e9ff5d36f41711e0e28061a4f9543d3b..6c1243322399c3786d9807eae50fb9749d1babbf 100644 (file)
@@ -55,7 +55,6 @@ const char *SMB_Prots[] = {"PC NETWORK PROGRAM 1.0",
                            NULL
                           };
 
-
 /* Initialize the SMBlib package     */
 
 int SMB_Init()
@@ -108,7 +107,6 @@ SMB_Handle_Type SMB_Connect_Server(SMB_Handle_Type Con_Handle,
 
         if ((con = (struct SMB_Connect_Def *)malloc(sizeof(struct SMB_Connect_Def))) == NULL) {
 
-
             SMBlib_errno = SMBlibE_NoSpace;
             return NULL;
         }
@@ -187,7 +185,6 @@ const char *SMB_Prots_Restrict[] = {"PC NETWORK PROGRAM 1.0",
                                     NULL
                                    };
 
-
 SMB_Handle_Type SMB_Connect(SMB_Handle_Type Con_Handle,
                             SMB_Tree_Handle *tree,
                             char *service,
@@ -547,7 +544,6 @@ int SMB_Logon_Server(SMB_Handle_Type Con_Handle, char *UserName,
 
 }
 
-
 /* Disconnect from the server, and disconnect all tree connects */
 
 int SMB_Discon(SMB_Handle_Type Con_Handle, BOOL KeepHandle)
index 434d97296a50526874f0a9f30200e8e999293a66..d0ee1bb980380cbb141a60325559955d7c3240d7 100644 (file)
@@ -108,7 +108,6 @@ void UnloadSecurityDll(void)
     hModule = NULL;
 }
 
-
 HMODULE LoadSecurityDll(int mode, char * SSP_Package)
 {
     TCHAR lpszDLL[MAX_PATH];
@@ -235,7 +234,6 @@ HMODULE LoadSecurityDll(int mode, char * SSP_Package)
     return hModule;
 }
 
-
 BOOL GenClientContext(PAUTH_SEQ pAS, PSEC_WINNT_AUTH_IDENTITY pAuthIdentity,
                       PVOID pIn, DWORD cbIn, PVOID pOut, PDWORD pcbOut, PBOOL pfDone)
 {
@@ -304,7 +302,6 @@ BOOL GenClientContext(PAUTH_SEQ pAS, PSEC_WINNT_AUTH_IDENTITY pAuthIdentity,
     return TRUE;
 }
 
-
 BOOL GenServerContext(PAUTH_SEQ pAS, PVOID pIn, DWORD cbIn, PVOID pOut,
                       PDWORD pcbOut, PBOOL pfDone, char * credentials)
 {
@@ -410,7 +407,6 @@ BOOL GenServerContext(PAUTH_SEQ pAS, PVOID pIn, DWORD cbIn, PVOID pOut,
     return TRUE;
 }
 
-
 BOOL WINAPI SSP_LogonUser(PTSTR szUser, PTSTR szPassword, PTSTR szDomain)
 {
     AUTH_SEQ    asServer   = {0};
@@ -486,7 +482,6 @@ BOOL WINAPI SSP_LogonUser(PTSTR szUser, PTSTR szPassword, PTSTR szDomain)
     return fResult;
 }
 
-
 const char * WINAPI SSP_MakeChallenge(PVOID PNegotiateBuf, int NegotiateLen)
 {
     BOOL        fDone      = FALSE;
@@ -527,7 +522,6 @@ const char * WINAPI SSP_MakeChallenge(PVOID PNegotiateBuf, int NegotiateLen)
     return encoded;
 }
 
-
 BOOL WINAPI SSP_ValidateNTLMCredentials(PVOID PAutenticateBuf, int AutenticateLen, char * credentials)
 {
     BOOL        fDone      = FALSE;
@@ -553,7 +547,6 @@ BOOL WINAPI SSP_ValidateNTLMCredentials(PVOID PAutenticateBuf, int AutenticateLe
     return fResult;
 }
 
-
 const char * WINAPI SSP_MakeNegotiateBlob(PVOID PNegotiateBuf, int NegotiateLen, PBOOL fDone, int * Status, char * credentials)
 {
     DWORD       cbOut      = 0;
@@ -587,7 +580,6 @@ const char * WINAPI SSP_MakeNegotiateBlob(PVOID PNegotiateBuf, int NegotiateLen,
     return encoded;
 }
 
-
 const char * WINAPI SSP_ValidateNegotiateCredentials(PVOID PAutenticateBuf, int AutenticateLen, PBOOL fDone, int * Status, char * credentials)
 {
     DWORD       cbOut      = 0;
index 1c9955693ed412f1e57cd527dd31e9c3f9e0ce74..4b0ddbdb2795a9c00eccbf707732f86fbf02ec5e 100644 (file)
@@ -22,6 +22,5 @@ protected:
     void all();
 };
 
-
 #endif
 
index 14febc501d675346dad21ee69c387b0b72df4e38..08626df9a26aca3d8df0ac12f636f96b4784f97c 100644 (file)
@@ -7,7 +7,6 @@
 #include <cppunit/TestResultCollector.h>
 #include <cppunit/TestRunner.h>
 
-
 int
 main( int argc, char* argv[] )
 {
@@ -34,4 +33,3 @@ main( int argc, char* argv[] )
     return result.wasSuccessful() ? 0 : 1;
 }
 
-
index 6902ff8c47d80fc995c946b650956ce322982c6f..6e1228ce97e5c09c77a1dd9c8ab174192ac03fdb 100644 (file)
@@ -77,7 +77,6 @@ void testRFC1035::testBugPacketEndingOnCompressionPtr()
     int res = 0;
     unsigned int off = 0;
 
-
     /* Test the HeaderUnpack function results */
     msg = new rfc1035_message;
     res = rfc1035HeaderUnpack(buf, len, &off, msg);
index 35d301c40a541392f0bdddab9ba1e716f610b70b..b26d3f5742ac18b0deac54923691fd24dcf59313 100644 (file)
@@ -61,7 +61,6 @@ void testRFC1738::testUrlDecode()
     CPPUNIT_ASSERT(memcmp(unescaped_str, "Bad String %1",14)==0);
     xfree(unescaped_str);
 
-
     /* A partly corrupt string */
     unescaped_str = xstrdup("Bad String %1A%3");
     rfc1738_unescape(unescaped_str);
@@ -97,7 +96,6 @@ void testRFC1738::testUrlEncode()
     result = rfc1738_do_escape("################ ################ ################ ################ ################ ################ ################ ################", RFC1738_ESCAPE_UNSAFE);
     CPPUNIT_ASSERT(memcmp(result, "%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%20%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%20%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%20%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%20%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%20%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%20%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%20%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23",406)==0);
 
-
     /* TEST: escaping only reserved characters */
 
     /* regular URL (full encoding requested) */
@@ -108,7 +106,6 @@ void testRFC1738::testUrlEncode()
     result = rfc1738_do_escape("/data/source/path", RFC1738_ESCAPE_RESERVED);
     CPPUNIT_ASSERT(memcmp(result, "%2Fdata%2Fsource%2Fpath",24)==0);
 
-
     /* TEST: safety-escaping a string already partially escaped */
 
     /* escaping of dangerous characters in a partially escaped string */
index def1fad3624c9a8a4c86fa5f0840db19157335ca..4b5fd61780ea1f09a32dcdc2d600662c983e6d4e 100644 (file)
@@ -83,7 +83,6 @@
 #include "asn1.h"
 #include "snmp_api_error.h"
 
-
 u_char *
 asn_build_header(u_char * data,        /* IN - ptr to start of object */
                  int *datalength,              /* IN/OUT - # of valid bytes */
@@ -95,7 +94,6 @@ asn_build_header(u_char * data,       /* IN - ptr to start of object */
     return (asn_build_header_with_truth(data, datalength, type, length, 0));
 }
 
-
 /*
  * asn_parse_int - pulls an int out of an ASN int type.
  *  On entry, datalength is input as the number of valid bytes following
@@ -453,7 +451,6 @@ asn_build_string(u_char * data, int *datalength,
     return (data + strlength);
 }
 
-
 /*
  * asn_parse_header - interprets the ID and length of the current object.
  *  On entry, datalength is input as the number of valid bytes following
@@ -599,7 +596,6 @@ asn_parse_length(u_char * data, u_int * length)
     return (data + 1);
 }
 
-
 u_char *
 asn_build_length(u_char * data, int *datalength,
                  int length, int truth)
index 7456e3f4a02c26cec1704cbfe7f29a70cbf1e3d3..22dbe1da4fdc3f119f6d97f48f177eed0213278b 100644 (file)
@@ -99,7 +99,6 @@ init_mib(char *file)
         Mib = read_mib(file);
 }
 
-
 static struct snmp_mib_tree *
 find_rfc1066_mib(struct snmp_mib_tree *root) {
     oid *op = RFC1066_MIB;
index b1792ff163f084fe22fb4fc4a9d38048e0553ab3..02fe588e7641a0a253deb0847ce83ce82decf260 100644 (file)
@@ -85,7 +85,6 @@ SOFTWARE.
 #include <errno.h>
 #endif
 
-
 /*
  * This is one element of an object identifier with either an integer subidentifier,
  * or a textual string label, or both.
@@ -163,7 +162,6 @@ struct tok {
     struct tok *next;          /* pointer to next in hash table */
 };
 
-
 struct tok tokens[] = {
     {"obsolete", sizeof("obsolete") - 1, OBSOLETE},
     {"Opaque", sizeof("Opaque") - 1, SNMP_OPAQUE},
@@ -260,7 +258,6 @@ init_node_hash(struct node *nodes)
     }
 }
 
-
 static void
 print_error(const char *string, const char *token, int type)
 {
@@ -472,7 +469,6 @@ build_tree(struct node *nodes) {
     return tp;
 }
 
-
 /*
  * Parses a token from the file.  The type of the token parsed is returned,
  * and the text is placed in the string pointed to by token.
@@ -613,7 +609,6 @@ getoid(register FILE *fp, register struct subid *SubOid, int length)
     }
     return count;
 
-
 }
 
 static void
@@ -971,7 +966,6 @@ parse_objecttype(register FILE *fp, char *name) {
     return np;
 }
 
-
 /*
  * Parses a mib file and returns a linked list of nodes found in the file.
  * Returns NULL on error.
index a512df5f5c98f31c31b9aec936e7789a0fe84b0d..e587a516149a8dac59b5366a4754066520315026 100644 (file)
@@ -1,5 +1,4 @@
 
-
 /**********************************************************************
  *
  *           Copyright 1997 by Carnegie Mellon University
index 871765d67faec3158cf0498786646eeef79a53fa..4257faafe731eb99ce5c97b609a14a71166d2574 100644 (file)
@@ -35,7 +35,6 @@
 #include <stdio.h>
 #include "snmp_api_error.h"
 
-
 /***************************************************************************
  *
  ***************************************************************************/
@@ -62,7 +61,6 @@ static const char *api_errors[17] = {
     "Packet Error",
     "No Response From Host",
 
-
     "Unknown Error"
 };
 
index 86a6c54bcfb95ffb5f22c08a35a7b8b363901021..93518ee68bfc34b018d0a47648cf584ab2af7a23 100644 (file)
@@ -32,7 +32,6 @@
 
 #include "snmp_error.h"
 
-
 static const char *error_string[25] = {
     /* 0x00 - 0x05 */
     "No Error",
index 25d84dcff62bc25eabd481e6d171bda5438ed757..dca49216878711e4c7685f4ce1c55ecb1350b7d3 100644 (file)
@@ -88,7 +88,6 @@
 #include "snmp_pdu.h"
 #include "snmp_msg.h"
 
-
 /*
  * RFC 1901: Introduction to Community-based SNMPv2
  *
index 8a7c2a437ec2988eaf61f89b017273b1b15d6e3a..d5b4d4fdff26aa3643892a12c581197b7b237d8b 100644 (file)
@@ -263,7 +263,6 @@ snmp_fix_pdu(struct snmp_pdu *pdu, int command) {
     return (newpdu);
 }
 
-
 /**********************************************************************/
 
 void
index c5383bcccb1a5cdc7ad29b5f9abe7fa1eab3f2fc..b4d3cb2f01fb9e28e12db70e0a565ad500bad234 100644 (file)
@@ -93,7 +93,6 @@
 
 #include "util.h"
 
-
 /* #define DEBUG_VARS 1 */
 /* #define DEBUG_VARS_MALLOC 1 */
 /* #define DEBUG_VARS_DECODE 1 */
@@ -362,9 +361,6 @@ snmp_var_EncodeVarBind(u_char * Buffer, int *BufLenP,
     return (bufp);
 }
 
-
-
-
 /* Parse all Vars from the buffer */
 u_char *
 snmp_var_DecodeVarBind(u_char * Buffer, int *BufLen,
index 3b646cc416aed9231c27141b8a995d674088b8b6..05a9d3179edba970d3082d3ef77adc65c6202957 100644 (file)
@@ -10,7 +10,6 @@ AccessLogEntry::SslDetails::SslDetails(): user(NULL), bumpMode(::Ssl::bumpEnd)
 }
 #endif /* USE_SSL */
 
-
 void
 AccessLogEntry::getLogClientIp(char *buf, size_t bufsz) const
 {
index 5c0b82ba1fec15a96d5f3a6b29ac1b5fc66e2bba..e5cf61285754d39126e52023ef92a0926b9a6acf 100644 (file)
@@ -228,7 +228,6 @@ public:
     HttpRequest *request; //< virgin HTTP request
     HttpRequest *adapted_request; //< HTTP request after adaptation and redirection
 
-
 #if ICAP_CLIENT
     /** \brief This subclass holds log info for ICAP part of request
      *  \todo Inner class declarations should be moved outside
index e644d95a77a9892f19c4cee98b74ece478663a29..2035f9015aa934f165d8af4ff17ec8075d5aa3ef 100644 (file)
@@ -74,7 +74,6 @@
 #include "ident/AclIdent.h"
 #endif
 
-
 ACL::Prototype ACLBrowser::RegistryProtoype(&ACLBrowser::RegistryEntry_, "browser");
 ACLStrategised<char const *> ACLBrowser::RegistryEntry_(new ACLRegexData, ACLRequestHeaderStrategy<HDR_USER_AGENT>::Instance(), "browser");
 ACL::Prototype ACLDestinationDomain::LiteralRegistryProtoype(&ACLDestinationDomain::LiteralRegistryEntry_, "dstdomain");
index 4abd5359435f0bb2c2970c21dc863c771e0b0cea..e8962eb13fc4bf504e7e410f97d34d27b007a16a 100644 (file)
@@ -98,7 +98,6 @@ BodyConsumerDialer::canDial(AsyncCall &call)
     return true;
 }
 
-
 /* BodyProducer */
 
 // inform the pipe that we are done and clear the Pointer
@@ -111,8 +110,6 @@ void BodyProducer::stopProducingFor(RefCount<BodyPipe> &pipe, bool atEof)
     pipe = NULL;
 }
 
-
-
 /* BodyConsumer */
 
 // inform the pipe that we are done and clear the Pointer
@@ -124,7 +121,6 @@ void BodyConsumer::stopConsumingFrom(RefCount<BodyPipe> &pipe)
     pipe = NULL;
 }
 
-
 /* BodyPipe */
 
 BodyPipe::BodyPipe(Producer *aProducer): theBodySize(-1),
@@ -406,7 +402,6 @@ BodyPipe::postAppend(size_t size)
         clearProducer(true); // reached end-of-body
 }
 
-
 void
 BodyPipe::scheduleBodyDataNotification()
 {
@@ -475,7 +470,6 @@ const char *BodyPipe::status() const
     return outputBuffer.content();
 }
 
-
 /* BodyPipeCheckout */
 
 BodyPipeCheckout::BodyPipeCheckout(BodyPipe &aPipe): pipe(aPipe),
@@ -503,7 +497,6 @@ BodyPipeCheckout::checkIn()
     checkedIn = true;
 }
 
-
 BodyPipeCheckout::BodyPipeCheckout(const BodyPipeCheckout &c): pipe(c.pipe),
         buf(c.buf), offset(c.offset), checkedOutSize(c.checkedOutSize),
         checkedIn(c.checkedIn)
index 99d3bd52a018f93468347615e99fbe3c98403e35..7c812a937b7afde97323617eb4c8509b2c89bf8e 100644 (file)
@@ -37,7 +37,6 @@ CommCommonCbParams::print(std::ostream &os) const
         os << ", data=" << data;
 }
 
-
 /* CommAcceptCbParams */
 
 CommAcceptCbParams::CommAcceptCbParams(void *aData):
@@ -83,7 +82,6 @@ CommIoCbParams::syncWithComm()
     return true; // now we are in sync and can handle the call
 }
 
-
 void
 CommIoCbParams::print(std::ostream &os) const
 {
@@ -94,7 +92,6 @@ CommIoCbParams::print(std::ostream &os) const
     }
 }
 
-
 /* CommCloseCbParams */
 
 CommCloseCbParams::CommCloseCbParams(void *aData):
@@ -145,7 +142,6 @@ CommAcceptCbPtrFun::print(std::ostream &os) const
     os << ')';
 }
 
-
 /* CommConnectCbPtrFun */
 
 CommConnectCbPtrFun::CommConnectCbPtrFun(CNCB *aHandler,
@@ -169,7 +165,6 @@ CommConnectCbPtrFun::print(std::ostream &os) const
     os << ')';
 }
 
-
 /* CommIoCbPtrFun */
 
 CommIoCbPtrFun::CommIoCbPtrFun(IOCB *aHandler, const CommIoCbParams &aParams):
@@ -192,7 +187,6 @@ CommIoCbPtrFun::print(std::ostream &os) const
     os << ')';
 }
 
-
 /* CommCloseCbPtrFun */
 
 CommCloseCbPtrFun::CommCloseCbPtrFun(CLCB *aHandler,
index dd0612928c91e4f0a40f7a2de618f4e430b30018..acc21ac691e73223d81d5e906bab735aac1bdd49 100644 (file)
@@ -50,7 +50,6 @@ typedef void FDECB(const FdeCbParams &params);
  * known to comm and there are many kinds of parameters.
  */
 
-
 /* Comm*CbParams classes below handle callback parameters */
 
 // Maintains parameters common to all comm callbacks
@@ -166,7 +165,6 @@ Params &GetCommParams(AsyncCall::Pointer &call)
     return dp->params;
 }
 
-
 // All job dialers with comm parameters are merged into one since they
 // all have exactly one callback argument and differ in Params type only
 template <class C, class Params_>
@@ -198,7 +196,6 @@ protected:
     virtual void doDial() { ((&(*this->job))->*method)(this->params); }
 };
 
-
 // accept (IOACB) dialer
 class CommAcceptCbPtrFun: public CallDialer,
         public CommDialerParamsT<CommAcceptCbParams>
@@ -234,7 +231,6 @@ public:
     CNCB *handler;
 };
 
-
 // read/write (IOCB) dialer
 class CommIoCbPtrFun: public CallDialer,
         public CommDialerParamsT<CommIoCbParams>
@@ -251,7 +247,6 @@ public:
     IOCB *handler;
 };
 
-
 // close (CLCB) dialer
 class CommCloseCbPtrFun: public CallDialer,
         public CommDialerParamsT<CommCloseCbParams>
@@ -354,7 +349,6 @@ CommCbFunPtrCallT<Dialer>::CommCbFunPtrCallT(int aDebugSection, int aDebugLevel,
 {
 }
 
-
 template <class Dialer>
 bool
 CommCbFunPtrCallT<Dialer>::canFire()
index da0d5c72e203a12dbfc234c459ab9073576a749f..760492c70af361dfa824024b52daeea60fa4be6c 100644 (file)
@@ -86,5 +86,4 @@ private:
     CbDataListContainer<DeferredRead> deferredReads;
 };
 
-
 #endif /* COMMREAD_H */
index 227b1502db43c3de076a9c1ced6650e4e660e619..f8bb6ff4d32e6dac19a60599c229e3406b1131e7 100644 (file)
@@ -37,7 +37,6 @@ class StoreEntry;
 /* for Vector<> */
 #include "Array.h"
 
-
 /* cache option parsers */
 
 class ConfigOption
index e84e29a5c0f7ac76b9d8e2dce22c8d00216f739c..b6649221fcfa3f60f41e1768d8ebd55f1f538aaa 100644 (file)
@@ -18,7 +18,6 @@
 
 static CpuAffinitySet *TheCpuAffinitySet = NULL;
 
-
 void
 CpuAffinityInit()
 {
index fdd89cf8f34b596b3f206bd3a4e22849cc10a41b..e201c3e03ea88c3563b9a54658236ce68abfb012 100644 (file)
@@ -15,5 +15,4 @@ SQUIDCEXTERN void CpuAffinityReconfigure();
 /// check CPU affinity configuration and print warnings if needed
 SQUIDCEXTERN void CpuAffinityCheck();
 
-
 #endif // SQUID_CPU_AFFINITY_H
index b4415a6b8093a0247398157e699c8d55b39bb32e..df3bd4f697ddc1e36d941ef0a2a0e98e8b7d9d79 100644 (file)
@@ -11,7 +11,6 @@
 #include "CpuAffinitySet.h"
 #include "Debug.h"
 
-
 bool
 CpuAffinityMap::add(const Vector<int> &aProcesses, const Vector<int> &aCores)
 {
index 97c2d23e6c63d65ae914c61c7578c0615cb91cc0..0c05e033710eca4260a51e791de556ad9ff4bcfc 100644 (file)
@@ -10,7 +10,6 @@
 
 class CpuAffinitySet;
 
-
 /// stores cpu_affinity_map configuration
 class CpuAffinityMap
 {
index 5de3e17ec1f3d9074afce9fcab257d478b920489..13fbf7d421c4c991654aff56974d059287019ff5 100644 (file)
@@ -18,7 +18,6 @@
 #include <string.h>
 #endif
 
-
 CpuAffinitySet::CpuAffinitySet()
 {
     CPU_ZERO(&theCpuSet);
index 6f6ff0335871ca7d4937ed9d2b15ae1c8aa21432..23b023e10380a2f419d740dcb4f3551d38226f0f 100644 (file)
@@ -54,7 +54,6 @@ VOID CALLBACK IoCompletionRoutine(DWORD dwErrorCode,
     xfree(lpOverlapped);
 }
 
-
 int aio_read(struct aiocb *aiocbp)
 {
     LPOVERLAPPED Overlapped;
@@ -114,7 +113,6 @@ int aio_read(struct aiocb *aiocbp)
     return 0;
 }
 
-
 int aio_read64(struct aiocb64 *aiocbp)
 {
     LPOVERLAPPED Overlapped;
@@ -166,7 +164,6 @@ int aio_read64(struct aiocb64 *aiocbp)
     return 0;
 }
 
-
 int aio_write(struct aiocb *aiocbp)
 {
     LPOVERLAPPED Overlapped;
@@ -226,7 +223,6 @@ int aio_write(struct aiocb *aiocbp)
     return 0;
 }
 
-
 int aio_write64(struct aiocb64 *aiocbp)
 {
     LPOVERLAPPED Overlapped;
@@ -278,19 +274,16 @@ int aio_write64(struct aiocb64 *aiocbp)
     return 0;
 }
 
-
 int aio_error(const struct aiocb * aiocbp)
 {
     return aiocbp->aio_sigevent.sigev_notify;
 }
 
-
 int aio_error64(const struct aiocb64 * aiocbp)
 {
     return aiocbp->aio_sigevent.sigev_notify;
 }
 
-
 int aio_open(const char *path, int mode)
 {
     HANDLE hndl;
@@ -335,7 +328,6 @@ int aio_open(const char *path, int mode)
     return fd;
 }
 
-
 void aio_close(int fd)
 {
     CloseHandle((HANDLE)_get_osfhandle(fd));
@@ -343,13 +335,11 @@ void aio_close(int fd)
     ++ statCounter.syscalls.disk.closes;
 }
 
-
 ssize_t aio_return(struct aiocb * aiocbp)
 {
     return aiocbp->aio_sigevent.sigev_signo;
 }
 
-
 ssize_t aio_return64(struct aiocb64 * aiocbp)
 
 {
index c446359f9442509d36b48162826cc7b6a56b5914..aa012ffc1a4ac7086647d905081da8baf180c22e 100644 (file)
@@ -54,7 +54,6 @@ void
 BlockingDiskIOModule::shutdown()
 {}
 
-
 DiskIOStrategy*
 BlockingDiskIOModule::createStrategy()
 {
index 38e5b613af5fc04aab7d70937bbcd1e55f9ac2a2..6744a1ef4189f5976e7a8097167c506ec9ecdcbf 100644 (file)
@@ -105,7 +105,6 @@ BlockingFile::create(int flags, mode_t mode, RefCount<IORequestor> callback)
     open(flags, mode, callback);
 }
 
-
 void BlockingFile::doClose()
 {
     if (fd > -1) {
index 009a6c7efd06f8f1836812163b2b65708c7757cb..b255ab16f462cc71c9a57581ce40621aa60a0083 100644 (file)
@@ -15,7 +15,6 @@
 #include "Store.h"
 #include "protos.h"
 
-
 DiskdActionData::DiskdActionData()
 {
     xmemset(this, 0, sizeof(*this));
@@ -54,7 +53,6 @@ DiskdActionData::operator += (const DiskdActionData& stats)
     return *this;
 }
 
-
 DiskdAction::Pointer
 DiskdAction::Create(const Mgr::CommandPointer &aCmd)
 {
index e950824f89fc790c2c326a79ff067f4f5eaf342e..871da300786c1684d9010c36f463be7e84c618f2 100644 (file)
@@ -12,7 +12,6 @@
 #include "mgr/forward.h"
 #include "mgr/Action.h"
 
-
 /// store disk daemon stats
 class DiskdActionData
 {
index 2f1b4952c72726a72eca35b459a0b76debb1f4c6..d7e3c26326d7665d032485087ecac85a22aaf017 100644 (file)
@@ -318,7 +318,6 @@ DiskdIOStrategy::handle(diomsg * M)
         return;
     }
 
-
     /* set errno passed from diskd.  makes debugging more meaningful */
     if (M->status < 0)
         errno = -M->status;
@@ -537,7 +536,6 @@ DiskdIOStrategy::sync()
     }
 }
 
-
 /*
  * Handle callbacks. If we have more than magic2 requests away, we block
  * until the queue is below magic2. Otherwise, we simply return when we
index 058c10244d7ff5e07caee7da792119bcfbfeac34..4bacc24a174b1893c9d36f5511a036b5f1eacf1c 100644 (file)
@@ -84,5 +84,4 @@ private:
     static Vector<DiskIOModule*> *_Modules;
 };
 
-
 #endif /* SQUID_DISKIOMODULE_H */
index 92dba278cbef11531a88b0403da538e6ee184ad5..b19e0c6711804721a18a812a7cf3efaa38b2d3fb 100644 (file)
@@ -22,7 +22,6 @@ private:
     static int DoneReadFD;
 };
 
-
 /* Inline code. TODO: make structued approach to inlining */
 void
 CommIO::NotifyIOCompleted()
index 9b1fbd71e883f2a5277f79496524fe41b7a7923a..5c00e1f67d03ac24c84b064309fb2f9a186de989 100644 (file)
@@ -119,5 +119,4 @@ struct AIOCounts {
 extern AIOCounts squidaio_counts;
 extern dlink_list used_list;
 
-
 #endif
index 0edfb256375af36c72800a3a582a5037ff68a115..4ee13011a011b40f5d596a005f5bcd5b9c9a978e 100644 (file)
@@ -33,7 +33,6 @@
  * Copyright (c) 2003, Robert Collins <robertc@squid-cache.org>
  */
 
-
 #include "squid.h"
 #include "DiskThreadsDiskFile.h"
 #include "DiskIO/IORequestor.h"
index 0169deed6d21407051a529034fbba7aa658c2997..2b2be16c7a742964fc1d5db07989393039398f73 100644 (file)
@@ -52,5 +52,4 @@ private:
     static DiskThreadsDiskIOModule Instance;
 };
 
-
 #endif /* SQUID_DISKTHREADSDISKIOMODULE_H */
index d98ff8a1c3a318a0b4e8cc1f95af7bb4f24832bc..da6101c5f5f38a8bde73aaa1bec841f27b2b0e37 100644 (file)
@@ -44,7 +44,6 @@
 /* for statfs */
 #include "Store.h"
 
-
 void
 DiskThreadsIOStrategy::init(void)
 {
index 686e4113533f5e2949c0409263be83913e1f6f25..cada522b19aaaa5ffdd8fd8d4b4c7ca421556fec 100644 (file)
@@ -124,7 +124,6 @@ static void squidaio_poll_queues(void);
 static squidaio_thread_t *threads = NULL;
 static int squidaio_initialised = 0;
 
-
 #define AIO_LARGE_BUFS  16384
 #define AIO_MEDIUM_BUFS        AIO_LARGE_BUFS >> 1
 #define AIO_SMALL_BUFS AIO_LARGE_BUFS >> 2
@@ -636,7 +635,6 @@ squidaio_cleanup_request(squidaio_request_t * requestp)
     squidaio_request_pool->freeOne(requestp);
 }                              /* squidaio_cleanup_request */
 
-
 int
 squidaio_cancel(squidaio_result_t * resultp)
 {
@@ -654,7 +652,6 @@ squidaio_cancel(squidaio_result_t * resultp)
     return 1;
 }                              /* squidaio_cancel */
 
-
 int
 squidaio_open(const char *path, int oflag, mode_t mode, squidaio_result_t * resultp)
 {
@@ -682,7 +679,6 @@ squidaio_open(const char *path, int oflag, mode_t mode, squidaio_result_t * resu
     return 0;
 }
 
-
 static void
 squidaio_do_open(squidaio_request_t * requestp)
 {
@@ -690,7 +686,6 @@ squidaio_do_open(squidaio_request_t * requestp)
     requestp->err = errno;
 }
 
-
 int
 squidaio_read(int fd, char *bufp, size_t bufs, off_t offset, int whence, squidaio_result_t * resultp)
 {
@@ -721,7 +716,6 @@ squidaio_read(int fd, char *bufp, size_t bufs, off_t offset, int whence, squidai
     return 0;
 }
 
-
 static void
 squidaio_do_read(squidaio_request_t * requestp)
 {
@@ -730,7 +724,6 @@ squidaio_do_read(squidaio_request_t * requestp)
     requestp->err = errno;
 }
 
-
 int
 squidaio_write(int fd, char *bufp, size_t bufs, off_t offset, int whence, squidaio_result_t * resultp)
 {
@@ -761,7 +754,6 @@ squidaio_write(int fd, char *bufp, size_t bufs, off_t offset, int whence, squida
     return 0;
 }
 
-
 static void
 squidaio_do_write(squidaio_request_t * requestp)
 {
@@ -769,7 +761,6 @@ squidaio_do_write(squidaio_request_t * requestp)
     requestp->err = errno;
 }
 
-
 int
 squidaio_close(int fd, squidaio_result_t * resultp)
 {
@@ -792,7 +783,6 @@ squidaio_close(int fd, squidaio_result_t * resultp)
     return 0;
 }
 
-
 static void
 squidaio_do_close(squidaio_request_t * requestp)
 {
@@ -800,7 +790,6 @@ squidaio_do_close(squidaio_request_t * requestp)
     requestp->err = errno;
 }
 
-
 int
 
 squidaio_stat(const char *path, struct stat *sb, squidaio_result_t * resultp)
@@ -829,7 +818,6 @@ squidaio_stat(const char *path, struct stat *sb, squidaio_result_t * resultp)
     return 0;
 }
 
-
 static void
 squidaio_do_stat(squidaio_request_t * requestp)
 {
@@ -837,7 +825,6 @@ squidaio_do_stat(squidaio_request_t * requestp)
     requestp->err = errno;
 }
 
-
 int
 squidaio_unlink(const char *path, squidaio_result_t * resultp)
 {
@@ -861,7 +848,6 @@ squidaio_unlink(const char *path, squidaio_result_t * resultp)
     return 0;
 }
 
-
 static void
 squidaio_do_unlink(squidaio_request_t * requestp)
 {
index fecccc66ec52421f7d7245183749ea8bab208197..4e75cfd0794bd00d37d1b010e1e3c60709e54b48 100644 (file)
@@ -122,7 +122,6 @@ static void squidaio_poll_queues(void);
 static squidaio_thread_t *threads = NULL;
 static int squidaio_initialised = 0;
 
-
 #define AIO_LARGE_BUFS  16384
 #define AIO_MEDIUM_BUFS        AIO_LARGE_BUFS >> 1
 #define AIO_SMALL_BUFS AIO_LARGE_BUFS >> 2
@@ -721,7 +720,6 @@ squidaio_cleanup_request(squidaio_request_t * requestp)
     squidaio_request_pool->free(requestp);
 }                              /* squidaio_cleanup_request */
 
-
 int
 squidaio_cancel(squidaio_result_t * resultp)
 {
@@ -739,7 +737,6 @@ squidaio_cancel(squidaio_result_t * resultp)
     return 1;
 }                              /* squidaio_cancel */
 
-
 int
 squidaio_open(const char *path, int oflag, mode_t mode, squidaio_result_t * resultp)
 {
@@ -767,7 +764,6 @@ squidaio_open(const char *path, int oflag, mode_t mode, squidaio_result_t * resu
     return 0;
 }
 
-
 static void
 squidaio_do_open(squidaio_request_t * requestp)
 {
@@ -775,7 +771,6 @@ squidaio_do_open(squidaio_request_t * requestp)
     requestp->err = errno;
 }
 
-
 int
 squidaio_read(int fd, char *bufp, size_t bufs, off_t offset, int whence, squidaio_result_t * resultp)
 {
@@ -806,7 +801,6 @@ squidaio_read(int fd, char *bufp, size_t bufs, off_t offset, int whence, squidai
     return 0;
 }
 
-
 static void
 squidaio_do_read(squidaio_request_t * requestp)
 {
@@ -821,7 +815,6 @@ squidaio_do_read(squidaio_request_t * requestp)
     requestp->err = errno;
 }
 
-
 int
 squidaio_write(int fd, char *bufp, size_t bufs, off_t offset, int whence, squidaio_result_t * resultp)
 {
@@ -852,7 +845,6 @@ squidaio_write(int fd, char *bufp, size_t bufs, off_t offset, int whence, squida
     return 0;
 }
 
-
 static void
 squidaio_do_write(squidaio_request_t * requestp)
 {
@@ -865,7 +857,6 @@ squidaio_do_write(squidaio_request_t * requestp)
     requestp->err = errno;
 }
 
-
 int
 squidaio_close(int fd, squidaio_result_t * resultp)
 {
@@ -888,7 +879,6 @@ squidaio_close(int fd, squidaio_result_t * resultp)
     return 0;
 }
 
-
 static void
 squidaio_do_close(squidaio_request_t * requestp)
 {
@@ -900,7 +890,6 @@ squidaio_do_close(squidaio_request_t * requestp)
     requestp->err = errno;
 }
 
-
 int
 
 squidaio_stat(const char *path, struct stat *sb, squidaio_result_t * resultp)
@@ -929,7 +918,6 @@ squidaio_stat(const char *path, struct stat *sb, squidaio_result_t * resultp)
     return 0;
 }
 
-
 static void
 squidaio_do_stat(squidaio_request_t * requestp)
 {
@@ -937,7 +925,6 @@ squidaio_do_stat(squidaio_request_t * requestp)
     requestp->err = errno;
 }
 
-
 int
 squidaio_unlink(const char *path, squidaio_result_t * resultp)
 {
@@ -961,7 +948,6 @@ squidaio_unlink(const char *path, squidaio_result_t * resultp)
     return 0;
 }
 
-
 static void
 squidaio_do_unlink(squidaio_request_t * requestp)
 {
index b3a4ac1e5ee80959f3abf43c223c5e235f3fa5e7..9f62a45ad799712c164485684558ba32246fe2fc 100644 (file)
@@ -129,7 +129,6 @@ aioCancel(int fd)
     }
 }
 
-
 void
 aioWrite(int fd, off_t offset, char *bufp, size_t len, AIOCB * callback, void *callback_data, FREE * free_func)
 {
@@ -158,7 +157,6 @@ aioWrite(int fd, off_t offset, char *bufp, size_t len, AIOCB * callback, void *c
     dlinkAdd(ctrlp, &ctrlp->node, &used_list);
 }                              /* aioWrite */
 
-
 void
 aioRead(int fd, off_t offset, size_t len, AIOCB * callback, void *callback_data)
 {
index d0878e43e7798b31a16a62eb1dcd11f93b915838..30598a3d1afa7b998c58c9d13e5821c7337f7cb0 100644 (file)
@@ -21,7 +21,6 @@ void
 IpcIoDiskIOModule::shutdown()
 {}
 
-
 DiskIOStrategy*
 IpcIoDiskIOModule::createStrategy()
 {
index 71a7ce783360b189c00dbaabc196e9f5d9eb03d3..1f39c1ec378e80efe03796857abfb01d387a25af 100644 (file)
@@ -62,7 +62,6 @@ operator <<(std::ostream &os, const SipcIo &sio)
            (sio.msg.command == IpcIo::cmdRead ? 'r' : 'w') << sio.disker;
 }
 
-
 IpcIoFile::IpcIoFile(char const *aDb):
         dbName(aDb), diskId(-1), error_(false), lastRequestId(0),
         olderRequests(&requestMap1), newerRequests(&requestMap2),
@@ -585,7 +584,6 @@ IpcIoFile::getFD() const
     return -1;
 }
 
-
 /* IpcIoMsg */
 
 IpcIoMsg::IpcIoMsg():
@@ -617,8 +615,6 @@ IpcIoPendingRequest::completeIo(IpcIoMsg *const response)
     }
 }
 
-
-
 /* XXX: disker code that should probably be moved elsewhere */
 
 static int TheFile = -1; ///< db file descriptor
@@ -675,7 +671,6 @@ diskerWrite(IpcIoMsg &ipcIo)
     Ipc::Mem::PutPage(ipcIo.page);
 }
 
-
 void
 IpcIoFile::DiskerHandleMoreRequests(void *source)
 {
@@ -856,7 +851,6 @@ DiskerClose(const String &path)
     }
 }
 
-
 /// reports our needs for shared memory pages to Ipc::Mem::Pages
 class IpcIoClaimMemoryNeedsRr: public RegisteredRunner
 {
@@ -867,7 +861,6 @@ public:
 
 RunnerRegistrationEntry(rrClaimMemoryNeeds, IpcIoClaimMemoryNeedsRr);
 
-
 void
 IpcIoClaimMemoryNeedsRr::run(const RunnerRegistry &)
 {
@@ -881,7 +874,6 @@ IpcIoClaimMemoryNeedsRr::run(const RunnerRegistry &)
                            static_cast<int>(itemsCount * 1.1));
 }
 
-
 /// initializes shared memory segments used by IpcIoFile
 class IpcIoRr: public Ipc::Mem::RegisteredRunner
 {
@@ -899,7 +891,6 @@ private:
 
 RunnerRegistrationEntry(rrAfterConfig, IpcIoRr);
 
-
 void IpcIoRr::create(const RunnerRegistry &)
 {
     if (Config.cacheSwap.n_strands <= 0)
index ea89620973e1ea51e9c6aae5af8dbf847ae99e9c..3d1409ad2b79a874bc43f3f036dbbedba0ff4185 100644 (file)
@@ -26,7 +26,6 @@ typedef enum { cmdNone, cmdOpen, cmdRead, cmdWrite } Command;
 
 } // namespace IpcIo
 
-
 /// converts DiskIO requests to IPC queue messages
 class IpcIoMsg
 {
@@ -140,7 +139,6 @@ private:
     CBDATA_CLASS2(IpcIoFile);
 };
 
-
 /// keeps original I/O request parameters while disker is handling the request
 class IpcIoPendingRequest
 {
@@ -160,5 +158,4 @@ private:
     IpcIoPendingRequest &operator =(const IpcIoPendingRequest &d); // ditto
 };
 
-
 #endif /* SQUID_IPC_IOFILE_H */
index 841800446ed09d125ca931aa97e0f1e8dd668529..a75b7f440445e4650dfa9fcfbf9c5bdc40fc6298 100644 (file)
@@ -21,7 +21,6 @@ void
 MmappedDiskIOModule::shutdown()
 {}
 
-
 DiskIOStrategy*
 MmappedDiskIOModule::createStrategy()
 {
index 8e0084b421d00b70173e674ba397656bff0ce926..b4a70d9359a7c393b6631b015b176cbd7bbd1589 100644 (file)
@@ -46,7 +46,6 @@ private:
     void *buf; ///< buffer returned by mmap, needed for munmap
 };
 
-
 void *
 MmappedFile::operator new(size_t sz)
 {
index 0ba0f0dd820926537cf7dfa24b7c7efed69d168c..85c5200b5c40e03015805c747249f7ede88b319d 100644 (file)
@@ -110,5 +110,4 @@ private:
     bool runOnceResult; /**< the result from runOnce */
 };
 
-
 #endif /* SQUID_EVENTLOOP_H */
index be5e0cabe7fb03a3e7a6a206213fb7837f9739b2..071c7a94939cf71bf7cfd27d53e6809055396937 100644 (file)
@@ -65,7 +65,6 @@ public:
 
     static void ExternalAclLookup(ACLChecklist * ch, ACLExternal *);
 
-
     ACLExternal(char const *);
     ACLExternal(ACLExternal const &);
     ~ACLExternal();
index d77c0a36b8e578f0c64cb478516ee33bfd5a8f7e..6ef7f1a6cd8c85878b9e5a18400a15f478c54c1e 100644 (file)
@@ -71,7 +71,6 @@ public:
     String log;
 };
 
-
 /*******************************************************************
  * external_acl cache entry
  * Used opaqueue in the interface
index 110d282d56f7209b391bba18fac9ce80f20f747d..4c7e5afe99e26bcd8e860d20d90caacac04cc2d4 100644 (file)
@@ -37,7 +37,6 @@
 #include "HttpBody.h"
 #include "MemBuf.h"
 
-
 HttpBody::HttpBody() : mb(new MemBuf)
 {}
 
index dc82a970aa306b572f83e9913750bc4b5bd38907..08bd93730c6278fd8bf1348deebb8f4f1b98983c 100644 (file)
@@ -74,5 +74,4 @@ private:
     MemBuf *mb;
 };
 
-
 #endif /* HTTPBODY_H_ */
index 9d5411633f3903adb9357dc1f967d37f21aeb565..6971752a49a96e59bdccbd524b923196974b7194 100644 (file)
@@ -80,7 +80,6 @@ http_hdr_cc_type &operator++ (http_hdr_cc_type &aHeader)
     return aHeader;
 }
 
-
 /// Module initialization hook
 void
 httpHdrCcInitModule(void)
index f7d6b94a0aa7c65485fb56db40d70c793e42e7d2..730a8a9b2e587d4b6dedf6cfc3f4475eefb57015 100644 (file)
@@ -52,7 +52,6 @@
  *    entity-length        = 1*DIGIT
  */
 
-
 /* local constants */
 #define range_spec_unknown (-1)
 
index db8ae7a592e7aed21bcf215c6edb514b94b9fb6b..6474fd90b25e6ce211684652170ff6636a8fec22 100644 (file)
@@ -58,7 +58,6 @@
  *    spec into type one above. (Canonization process).
  */
 
-
 /* local routines */
 #define known_spec(s) ((s) > HttpHdrRangeSpec::UnknownPosition)
 
@@ -362,7 +361,6 @@ HttpHdrRange::merge (Vector<HttpHdrRangeSpec *> &basis)
            " specs, merged " << basis.size() - specs.size() << " specs");
 }
 
-
 void
 HttpHdrRange::getCanonizedSpecs (Vector<HttpHdrRangeSpec *> &copy)
 {
index eac4a02549310fc12ac83892c22fc4b7537195b9..133a092184e23e41d520886362652103ecc059d2 100644 (file)
@@ -79,7 +79,6 @@ int operator - (http_hdr_sc_type const &anSc, http_hdr_sc_type const &anSc2)
     return (int)anSc - (int)anSc2;
 }
 
-
 /* module initialization */
 
 void
@@ -249,7 +248,6 @@ HttpHdrSc::~HttpHdrSc()
     }
 }
 
-
 HttpHdrSc::HttpHdrSc(const HttpHdrSc &sc)
 {
     dlink_node *node = sc.targets.head;
index af881a6e52b115c489903bdd048bb7039ce78fa7..99449db814aaaebf6668749a39f3994eac5ee21e 100644 (file)
@@ -130,6 +130,4 @@ MEMPROXY_CLASS_INLINE(HttpHdrScTarget);
 
 extern void httpHdrScTargetStatDumper(StoreEntry * sentry, int idx, double val, double size, int count);
 
-
-
 #endif /* SQUID_HTTPHDRSURROGATECONTROLTARGET_H */
index 9a29cb7be09a7a926efdecdf82a22fabc286cb6c..36e60b6c57e76e5f7baea2ddb7289144f6c29a3d 100644 (file)
@@ -68,7 +68,6 @@
  * An entry is a (field_id, field_name, field_value) triplet.
  */
 
-
 /*
  * local constants and vars
  */
@@ -172,7 +171,6 @@ http_hdr_type &operator++ (http_hdr_type &aHeader)
     return aHeader;
 }
 
-
 /*
  * headers with field values defined as #(values) in HTTP/1.1
  * Headers that are currently not recognized, are commented out.
@@ -1699,7 +1697,6 @@ httpHeaderFldsPerHdrDumper(StoreEntry * sentry, int idx, double val, double size
                           xpercent(count, dump_stat->destroyedCount));
 }
 
-
 static void
 httpHeaderStatDump(const HttpHeaderStat * hs, StoreEntry * e)
 {
index cf0c336a4385feaba36202b712d9f6790c50e1ce..53e884bc6422c2d436ad6c7adff0a28009b7e677 100644 (file)
@@ -38,7 +38,6 @@
 /* HttpHeader holds a HttpHeaderMask */
 #include "HttpHeaderMask.h"
 
-
 /* class forward declarations */
 class HttpHdrContRange;
 class HttpHdrCc;
@@ -46,7 +45,6 @@ class HttpHdrSc;
 class HttpHdrRange;
 class String;
 
-
 /* constant attributes of http header fields */
 
 /// recognized or "known" header fields; and the RFC which defines them (or not)
@@ -187,7 +185,6 @@ struct _HttpHeaderFieldAttrs {
     field_type type;
 };
 
-
 /** Iteration for headers; use HttpHeaderPos as opaque type, do not interpret */
 typedef ssize_t HttpHeaderPos;
 
@@ -293,7 +290,6 @@ private:
     HttpHeaderEntry *findLastEntry(http_hdr_type id) const;
 };
 
-
 extern int httpHeaderParseQuotedString(const char *start, const int len, String *val);
 SQUIDCEXTERN int httpHeaderHasByNameListMember(const HttpHeader * hdr, const char *name, const char *member, const char separator);
 SQUIDCEXTERN void httpHeaderUpdate(HttpHeader * old, const HttpHeader * fresh, const HttpHeaderMask * denied_mask);
index 7fcff9d045a63eb8ed14fe9f4e76c98078c82574..ef3d616b7c6f54ab933f7fac7747f7d67c777668 100644 (file)
@@ -29,5 +29,4 @@ public:
     int busyDestroyedCount;
 };
 
-
 #endif /* HTTPHEADERSTAT_H_ */
index 35ead37d1de298247942acc3c5a32fb16f8b545e..d16d790ca8f81367420b3cb63b6e138076b0414e 100644 (file)
@@ -60,7 +60,6 @@
 
 static void httpHeaderPutStrvf(HttpHeader * hdr, http_hdr_type id, const char *fmt, va_list vargs);
 
-
 HttpHeaderFieldInfo *
 httpHeaderBuildFieldsInfo(const HttpHeaderFieldAttrs * attrs, int count)
 {
@@ -142,7 +141,6 @@ httpHeaderPutStrvf(HttpHeader * hdr, http_hdr_type id, const char *fmt, va_list
     mb.clean();
 }
 
-
 /** wrapper arrounf PutContRange */
 void
 httpHeaderAddContRange(HttpHeader * hdr, HttpHdrRangeSpec spec, int64_t ent_len)
@@ -154,7 +152,6 @@ httpHeaderAddContRange(HttpHeader * hdr, HttpHdrRangeSpec spec, int64_t ent_len)
     httpHdrContRangeDestroy(cr);
 }
 
-
 /**
  * return true if a given directive is found in at least one of
  * the "connection" header-fields note: if HDR_PROXY_CONNECTION is
@@ -342,7 +339,6 @@ httpHeaderParseOffset(const char *start, int64_t * value)
     return 1;
 }
 
-
 /**
  * Parses a quoted-string field (RFC 2616 section 2.2), complains if
  * something went wrong, returns non-zero on success.
index 81b33af0e5c4e81ba0c1d6dcbc5f515cc5bf9b6b..6aa0adfd040d26e8990ac34a51a8d8a93eae5879 100644 (file)
@@ -45,7 +45,6 @@
 template <class Msg>
 class HttpMsgPointerT;
 
-
 class HttpMsg
 {
 
index eba3d4cc86aafc28d034a95591f2d5e1697e07d1..8193c0aebde80a81aa109bfcb61db392e88121a9 100644 (file)
@@ -109,7 +109,6 @@ HttpParser::parseRequestFirstLine()
     // NP: we have now seen EOL, more-data (0) cannot occur.
     //     From here on any failure is -1, success is 1
 
-
     // Input Validation:
 
     // Process what we now know about the line structure into field offsets
index a29dca90cc176fa12a01216ee365596e9cbf7bf3..0541e27daf1704cbbdb8aba51bbe608ba5232059 100644 (file)
@@ -94,5 +94,4 @@ extern int HttpParserRequestLen(HttpParser *hp);
 #define HttpParserRequestLen(hp)        ( (hp)->hdr_end - (hp)->req.start + 1 )
 #endif
 
-
 #endif /*  _SQUID_SRC_HTTPPARSER_H */
index aac0bdb7e9368d5584e69844104d5898c8daf237..f0090e1d211c39dcb9643c570a11ffb5a4f6c9db 100644 (file)
@@ -626,7 +626,6 @@ HttpReply::clone() const
     return rep;
 }
 
-
 bool HttpReply::inheritProperties(const HttpMsg *aMsg)
 {
     const HttpReply *aRep = dynamic_cast<const HttpReply*>(aMsg);
index 86fa4e42f141bf81a6095791c1b1420435686795..d811e31eeb8ca89df897d3612cc91184adf5ea66 100644 (file)
@@ -73,7 +73,6 @@ enum _method_t {
     METHOD_ENUM_END  // MUST be last, (yuck) this is used as an array-initialization index constant!
 };
 
-
 /**
  * This class represents an HTTP Request METHOD
  * - i.e. PUT, POST, GET etc.
index a77382915ae93726f131514e5e64385ef387b962..52a4c79ff279d48eb6200e4c8c0617d1727d822c 100644 (file)
@@ -79,5 +79,4 @@ SQUIDCEXTERN void httpStatusLinePackInto(const HttpStatusLine * sline, Packer *
 
 SQUIDCEXTERN const char *httpStatusString(http_status status);
 
-
 #endif /* SQUID_HTTPSTATUSLINE_H */
index d718a8f206303bbd25f1f3f78d763bbbcad78e8c..a6a79af3e48223f62d217ba423a48532204689df 100644 (file)
--- a/src/ICP.h
+++ b/src/ICP.h
@@ -89,7 +89,6 @@ inline icp_opcode & operator++ (icp_opcode & aCode)
     return aCode;
 }
 
-
 /**
  \ingroup ServerProtocolICPAPI
  \todo mempool this
index e245430bf36b69e3ced71a08a65e11df6990558a..ac0d09f4f9702b349e4a1e252fab5bc607e34bcb 100644 (file)
@@ -118,7 +118,6 @@ LeakFinder::hash(const void *p, unsigned int mod)
     return ((unsigned long) p >> 8) % mod;
 }
 
-
 void
 LeakFinder::dump()
 {
index b50d3d4f0db5861e1a3fe3c7a38161809153555d..1270c325d88557297bbb0cbae91d6a831a3ba93a 100644 (file)
@@ -28,7 +28,6 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
  */
 
-
 #include "squid.h"
 #include "base/TextException.h"
 #include "Debug.h"
 #include <iostream>
 #endif
 
-
 MemBlobStats MemBlob::Stats;
 InstanceIdDefinitions(MemBlob, "blob");
 
-
 /* MemBlobStats */
 
 MemBlobStats::MemBlobStats(): alloc(0), live(0), append(0)
@@ -63,7 +60,6 @@ MemBlobStats::dump(std::ostream &os) const
     return os;
 }
 
-
 /* MemBlob */
 
 MemBlob::MemBlob(const MemBlob::size_type reserveSize) :
@@ -134,7 +130,6 @@ MemBlob::append(const char *source, const size_type n)
     ++Stats.append;
 }
 
-
 const MemBlobStats&
 MemBlob::GetStats()
 {
index 9cdbd0a2df2b32fa95c132616a2094344ef79d56..86d54c13a9682b5be683bedebe52bc407bcd8d6f 100644 (file)
@@ -53,7 +53,6 @@ public:
     uint64_t liveBytes; ///< the total size of currently allocated storage
 };
 
-
 /** Refcountable, fixed-size, content-agnostic memory buffer.
  *
  * Allocated memory block is divided into two sequential areas:
index ed14d1a4a46e4c187432a1f7c10b170f0985f66e..b953da0c7974890a9f3459176e66390eadc31c2c 100644 (file)
@@ -128,7 +128,6 @@ MemBuf::init()
     init(MEM_BUF_INIT_SIZE, MEM_BUF_MAX_SIZE);
 }
 
-
 /** init with specific sizes */
 void
 MemBuf::init(mb_size_t szInit, mb_size_t szMax)
@@ -286,7 +285,6 @@ MemBuf::Printf(const char *fmt,...)
     va_end(args);
 }
 
-
 /**
  * vPrintf for other printf()'s to use; calls vsnprintf, extends buf if needed
  */
@@ -403,7 +401,6 @@ MemBuf::grow(mb_size_t min_cap)
     PROF_stop(MemBuf_grow);
 }
 
-
 /* Reports */
 
 /**
index d38d8d563e16ac7aad1222ab3278007625967cfd..61a7a26b7727f38ca58b13cb4646ec68bb2680c8 100644 (file)
@@ -293,7 +293,6 @@ MemObject::reset()
     /* Should we check for clients? */
 }
 
-
 int64_t
 MemObject::lowestMemReaderOffset() const
 {
@@ -408,7 +407,6 @@ MemObject::trimUnSwappable()
     inmem_lo = new_mem_lo;
 }
 
-
 bool
 MemObject::isContiguous() const
 {
index a24eb400347bfaa31aa18e94631874dc3ea40499..fdad17eb517d0e6ea9d0fde6bfc4a44da347a664 100644 (file)
@@ -92,7 +92,6 @@ public:
     DelayId mostBytesAllowed() const;
 #endif
 
-
 #if URL_CHECKSUM_DEBUG
 
     void checkUrlChecksum() const;
index a1162d053fe7107e807f9fb3257ae73170926ec9..648ce1b8df35715f38e38dd3a74b129788834f14 100644 (file)
@@ -399,7 +399,6 @@ MemStore::EntryLimit()
     return entryLimit;
 }
 
-
 /// reports our needs for shared memory pages to Ipc::Mem::Pages
 class MemStoreClaimMemoryNeedsRr: public RegisteredRunner
 {
@@ -410,14 +409,12 @@ public:
 
 RunnerRegistrationEntry(rrClaimMemoryNeeds, MemStoreClaimMemoryNeedsRr);
 
-
 void
 MemStoreClaimMemoryNeedsRr::run(const RunnerRegistry &)
 {
     Ipc::Mem::NotePageNeed(Ipc::Mem::PageId::cachePage, MemStore::EntryLimit());
 }
 
-
 /// decides whether to use a shared memory cache or checks its configuration
 class MemStoreCfgRr: public ::RegisteredRunner
 {
@@ -446,7 +443,6 @@ void MemStoreCfgRr::run(const RunnerRegistry &r)
     }
 }
 
-
 /// initializes shared memory segments used by MemStore
 class MemStoreRr: public Ipc::Mem::RegisteredRunner
 {
@@ -465,7 +461,6 @@ private:
 
 RunnerRegistrationEntry(rrAfterConfig, MemStoreRr);
 
-
 void MemStoreRr::run(const RunnerRegistry &r)
 {
     assert(Config.memShared.configured());
index 4e50d1a5ad468c6c456d5a24a8e49a8c30caea26..c395006d690cbe1959aac1d21930be7c912f7d59 100644 (file)
  *
  */
 
-
 /*
  * To-Do:
  */
 
-
 #include "squid.h"
 #include "Store.h"
 #include "MemBuf.h"
@@ -111,7 +109,6 @@ storeEntryAppend(StoreEntry *e, const char *buf, int len)
     e->append(buf, len);
 }
 
-
 /* append()'s */
 static void (*const store_append) (StoreEntry *, const char *, int) = &storeEntryAppend;
 static void (*const memBuf_append) (MemBuf *, const char *, mb_size_t) = &memBufAppend;
@@ -120,7 +117,6 @@ static void (*const memBuf_append) (MemBuf *, const char *, mb_size_t) = &memBuf
 static void (*const store_vprintf) (StoreEntry *, const char *, va_list ap) = &storeAppendVPrintf;
 static void (*const memBuf_vprintf) (MemBuf *, const char *, va_list ap) = &memBufVPrintf;
 
-
 /* init/clean */
 
 /* init with this to forward data to StoreEntry */
index 761cc99d935643411e9e6a2c02299dc7d0a8cb83..f1536148662d7a312c4ebbfe057f595d022879ed 100644 (file)
@@ -45,7 +45,6 @@ typedef void (*ObjPackMethod) (void *obj, Packer * p);
 typedef void (*append_f) (void *, const char *buf, int size);
 typedef void (*vprintf_f) (void *, const char *fmt, va_list args);
 
-
 class Packer
 {
 
index 639f041a4f2435873f12c65f1483cc15336be308..63c76b2e5a317ca551a41430ee44c18d2c713e75 100644 (file)
@@ -108,5 +108,4 @@ private:
     CBDATA_CLASS(ps_state);
 };
 
-
 #endif /* SQUID_PEERSELECTSTATE_H */
index bc45f2171eb4a8a18bc343930220226698564db6..00a825e8fa0dd2f47a5ffbc17f99db2baa1f01fe 100644 (file)
@@ -103,5 +103,4 @@ extern RemovalPolicy *createRemovalPolicy(RemovalPolicySettings * settings);
 
 typedef RemovalPolicy *REMOVALPOLICYCREATE(wordlist * args);
 
-
 #endif /* SQUID_REMOVALPOLICY_H */
index 2c0047826247d177ef7b2c374af886c8ead25f50..927245b4ae0121248372ae25b6138be649576166 100644 (file)
@@ -58,7 +58,6 @@
 // implemented in client_side_reply.cc until sides have a common parent
 extern void purgeEntriesByUrl(HttpRequest * req, const char *url);
 
-
 ServerStateData::ServerStateData(FwdState *theFwdState): AsyncJob("ServerStateData"),
         requestSender(NULL),
 #if USE_ADAPTATION
@@ -127,7 +126,6 @@ ServerStateData::swanSong()
 #endif
 }
 
-
 HttpReply *
 ServerStateData::virginReply()
 {
@@ -310,7 +308,6 @@ ServerStateData::noteBodyProducerAborted(BodyPipe::Pointer bp)
         handleRequestBodyProducerAborted();
 }
 
-
 // more origin request body data is available
 void
 ServerStateData::handleMoreRequestBodyAvailable()
@@ -813,7 +810,6 @@ ServerStateData::handleAdaptationCompleted()
     completeForwarding();
 }
 
-
 // common part of noteAdaptation*Aborted and noteBodyConsumerAborted methods
 void
 ServerStateData::handleAdaptationAborted(bool bypassable)
index 22aebfc71ef7223f503662121898dfee9f132aa5..040855cd14308eb2e0a5ff2d8d08a20e589e6f17 100644 (file)
@@ -37,7 +37,6 @@
 
 #include "squid.h"
 
-
 #ifdef __SUNPRO_CC
 
 #include <new>
index 929fd4ffa0cb8dfe0c5b84b1b2d6813883b33cce..901848f7325a65e4d115fb5703acae8a6ce16b38 100644 (file)
@@ -45,7 +45,6 @@
 #define SQUIDSTRINGPRINT(s) (s).psize(),(s).rawBuf()
 #endif /* SQUIDSTRINGPH */
 
-
 #define DEBUGSTRINGS 0
 #if DEBUGSTRINGS
 #include "splay.h"
@@ -159,7 +158,6 @@ public:
     void stat (StoreEntry *) const;
 #endif
 
-
 private:
     void allocAndFill(const char *str, int len);
     void allocBuffer(size_type sz);
index 6ff3ec1fa65069bac49a908e11d00b8abc483343..3152076819589fd85202d13d81ad5b19439fbab1 100644 (file)
@@ -47,7 +47,6 @@ public:
 };
 #endif
 
-
 /** General collection of process-wide statistics.
  *
  * \note if you add a field to StatCounters,
index dfcc304ce6ee9467ceb3197da228168bd293a4eb..8f28ae4496cb574f7ae334c54af164ea44744bba 100644 (file)
@@ -32,7 +32,6 @@
 /* for StoreEntry */
 #include "Store.h"
 
-
 /// function signature for in/out StatHist adaptation
 typedef double hbase_f(double);
 
index ee0079dfd5a3e680617d3710043f949785de93df..8d24215751db8bd27ebcf0c8fa34e7b9a6446c16 100644 (file)
@@ -55,7 +55,6 @@
 #include <ostream>
 #endif
 
-
 class AsyncCall;
 class HttpRequest;
 class MemObject;
@@ -254,14 +253,12 @@ private:
 
     void trimMemory(const bool preserveSwappable) {}
 
-
     static NullStoreEntry _instance;
 };
 
 /// \ingroup StoreAPI
 typedef void (*STOREGETCLIENT) (StoreEntry *, void *cbdata);
 
-
 /**
  \ingroup StoreAPI
  * Abstract base class that will replace the whole store and swapdir interface.
index 78a2c01ce65f9840b80e744dc45552a727a5f336..72b204299a4667f8a75633b357b307d206049731 100644 (file)
@@ -129,5 +129,4 @@ private:
 
 SQUIDCEXTERN void storeClientCopy(store_client *, StoreEntry *, StoreIOBuffer, STCB *, void *);
 
-
 #endif /* SQUID_STORECLIENT_H */
index 9db8237b63c699a5ff94c5ed4445966e208200a2..bde0eb92941645655541d528451a429b2c8506fd 100644 (file)
@@ -146,5 +146,4 @@ private:
 // TODO: Kill this typedef!
 typedef StoreFileSystem storefs_entry_t;
 
-
 #endif /* SQUID_STOREFILESYSTEM_H */
index 379c4f48d6246bf13cbfbd4792f92c8fe634479c..93361ad436868bc2fc23e647d6e0dad27bb8a960 100644 (file)
@@ -111,7 +111,6 @@ StoreMeta::validLength(int aLength) const
     return true;
 }
 
-
 StoreMeta *
 StoreMeta::Factory (char type, size_t len, void const *value)
 {
index ac950e1fc2939fa5fc555039379e189711a2db8c..371d4184d3cd2650174bc6139b1784f6bb34871e 100644 (file)
@@ -9,7 +9,6 @@
 #include "protos.h" /* for xmemset only */
 #include "StoreStats.h"
 
-
 /* StoreInfoStats */
 
 StoreInfoStats::StoreInfoStats()
@@ -51,8 +50,6 @@ StoreInfoStats::operator +=(const StoreInfoStats &stats)
     return *this;
 }
 
-
-
 /* StoreIoStats */
 
 StoreIoStats::StoreIoStats()
index 9be6f67a202c6ed44ccd0a2a17a9a04d49c751f0..ea2f4bbe6b091f83d9e1b0c70048aabd8500f29c 100644 (file)
@@ -34,11 +34,9 @@ public:
         bool shared; ///< whether memory cache is shared among workers
     };
 
-
     StoreInfoStats();
     StoreInfoStats &operator +=(const StoreInfoStats &stats);
 
-
     Swap swap; ///< cache_mem stats
     Mem mem; ///< all cache_dirs stats
 
index ab0276e2e9a6546bc254cfcfd182672a89a4738f..7874e7419aac80fa10763dd407d2bdbc61081090 100644 (file)
@@ -225,5 +225,4 @@ public:
     int32_t record_size;
 };
 
-
 #endif /* SQUID_STORESWAPLOGDATA_H */
index e737506dbe67623c322d1941602a323c818dc661..23f4e9d3438d796a8b6540d30671e1243979ca93 100644 (file)
@@ -51,7 +51,6 @@ String::psize() const
     return size();
 }
 
-
 // low-level buffer allocation,
 // does not free old buffer and does not adjust or look at len_
 void
@@ -264,7 +263,6 @@ String::substr(String::size_type from, String::size_type to) const
     return rv;
 }
 
-
 #if DEBUGSTRINGS
 void
 String::stat(StoreEntry *entry) const
@@ -497,8 +495,6 @@ String::rfind(char const ch) const
     return c-rawBuf();
 }
 
-
-
 #if !_USE_INLINE_
 #include "String.cci"
 #endif
index ba8cda01df07ba8dadcfb17b893e4ea76f2d19b6..c3f0784072f62a216bb74800d74f76ef6f40d04b 100644 (file)
@@ -42,7 +42,6 @@
 #endif /* INT_MAX */
 #endif /* HAVE_STDINT_H */
 
-
 String::String() : size_(0), len_(0), buf_ (NULL)
 {
 #if DEBUGSTRINGS
@@ -86,7 +85,6 @@ String::operator [](unsigned int aPos) const
     return buf_[aPos];
 }
 
-
 /// compare NULL and empty strings because str*cmp() may fail on NULL strings
 /// and because we need to return consistent results for strncmp(count == 0).
 bool
@@ -105,7 +103,6 @@ String::nilCmp(const bool thisIsNilOrEmpty, const bool otherIsNilOrEmpty, int &r
     return true;
 }
 
-
 int
 String::cmp (char const *aString) const
 {
@@ -162,7 +159,6 @@ String::caseCmp(const String &str) const
     return caseCmp(str.rawBuf(),str.size());
 }
 
-
 void
 String::set(char const *loc, char const ch)
 {
index 0fa81ef1db77476f4c7cf107949234036b5c4212..983e2970d827a158632cd37404465b86df35ec5f 100644 (file)
@@ -150,7 +150,6 @@ SwapDir::canStore(const StoreEntry &e, int64_t diskSpaceNeeded, int &load) const
     return true; // kids may provide more tests and should report true load
 }
 
-
 void
 SwapDir::sync() {}
 
index 070ae7b6d9fa9c3f12a77c4c21582413594e2373..922c982644245ffd2f62bf88993ae3327eb33905 100644 (file)
@@ -209,7 +209,6 @@ ACL::isProxyAuth() const
     return false;
 }
 
-
 ACLList::ACLList() : op (1), _acl (NULL), next (NULL)
 {}
 
@@ -341,7 +340,6 @@ ACLList::matches (ACLChecklist *checklist) const
     return true;
 }
 
-
 /*********************/
 /* Destroy functions */
 /*********************/
index 2979a62d29f38f6de5014450a634e8ff424033ce..89eb9094575c84241b9a815e18c46684e64fc282 100644 (file)
@@ -213,7 +213,6 @@ public:
 
 MEMPROXY_CLASS_INLINE(acl_proxy_auth_match_cache);
 
-
 /// \ingroup ACLAPI
 extern const char *AclMatchedName;     /* NULL */
 
index 20bc0ac64d563c28c8d1620e6190bc6a3f9f98ec..19278d50a0b3519f473815faca5171865fd47b8e 100644 (file)
@@ -49,7 +49,6 @@ static int aclMatchArp(SplayNode<Eui::Eui48 *> **dataptr, Ip::Address &c);
 static SplayNode<Eui::Eui48 *>::SPLAYCMP aclArpCompare;
 static SplayNode<Eui::Eui48 *>::SPLAYWALKEE aclDumpArpListWalkee;
 
-
 ACL *
 ACLARP::clone() const
 {
@@ -132,7 +131,6 @@ aclParseArpData(const char *t)
     return q;
 }
 
-
 /*******************/
 /* aclParseArpList */
 /*******************/
index 60a074a2b93f0d7e81811a0526af524fecf21df4..04ba4375d3a392165cf2a5e3746e6aaaf5ccde47 100644 (file)
@@ -56,7 +56,6 @@
 
 /* BEGIN of definitions for radix tree entries */
 
-
 /* 32/128 bits address in memory with length */
 class m_ADDR
 {
@@ -114,7 +113,6 @@ static void asnCacheStart(int as);
 
 static STCB asHandleReply;
 
-
 #if defined(__cplusplus)
 extern "C" {
 #endif
@@ -233,7 +231,6 @@ asnStats(StoreEntry * sentry)
 
 /* PRIVATE */
 
-
 static void
 asnCacheStart(int as)
 {
@@ -391,7 +388,6 @@ asStateFree(void *data)
     cbdataFree(asState);
 }
 
-
 /**
  * add a network (addr, mask) to the radix tree, with matching AS number
  */
@@ -631,7 +627,6 @@ ACLSourceASNStrategy::Instance()
 
 ACLSourceASNStrategy ACLSourceASNStrategy::Instance_;
 
-
 int
 ACLDestinationASNStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
 {
index 02fa8dcbabe5d82b96300bb858fba39ecaa2fb76..4635a87f966dc43e9093762a2b531a7c377ff14a 100644 (file)
@@ -43,4 +43,3 @@
 
 template class ACLRequestHeaderStrategy<HDR_USER_AGENT>;
 
-
index 42d2b3121821b8d6fc71f0da3b12ecde8c461e4e..7b24581a074efe42ac8190e8e6b4b9f9d2926474 100644 (file)
@@ -49,7 +49,6 @@
 #include "fde.h"
 #include "globals.h"
 
-
 int
 ACLCertificateStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
 {
index abacaa6e3cd97101266ea5a763069b53750bb1d4..5d50b2d07cc2460cc606c2975d5d8c605028bea8 100644 (file)
@@ -263,7 +263,6 @@ ACLChecklist::matchNodes(const ACLList * head, bool const fast)
     return true;
 }
 
-
 /// Check whether a single ACL matches, returning NodeMatchingResult
 ACLChecklist::NodeMatchingResult
 ACLChecklist::matchNode(const ACLList &node, bool const fast)
@@ -336,7 +335,6 @@ ACLChecklist::~ACLChecklist()
     debugs(28, 4, "ACLChecklist::~ACLChecklist: destroyed " << this);
 }
 
-
 void
 ACLChecklist::AsyncState::changeState (ACLChecklist *checklist, AsyncState *newState) const
 {
index c368f04caac9fdd90f8ff5a54a43a5c7d92c508c..6569e7081c3edd21458d16018508404cbb9b8244 100644 (file)
@@ -86,7 +86,6 @@ public:
         static NullState _instance;
     };
 
-
 public:
     ACLChecklist();
     virtual ~ACLChecklist();
index db961d09b62974c65f1a346d88443e29f0357c19..fb754cac73f81c597acf8bbbb3b5b01812933ce8 100644 (file)
@@ -72,7 +72,6 @@ DestinationDomainLookup::LookupDone(const char *fqdn, const DnsLookupDetails &de
     checklist->matchNonBlocking();
 }
 
-
 int
 ACLDestinationDomainStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
 {
index 9e4c60429a1e8f300e453a629139b43bef53948b..0f204e552ef0f7972d17c04cad52002c1e3fce9a 100644 (file)
@@ -111,8 +111,6 @@ DestinationIPLookup::LookupDone(const ipcache_addrs *, const DnsLookupDetails &d
     checklist->matchNonBlocking();
 }
 
-
-
 ACL *
 ACLDestinationIP::clone() const
 {
index 385d2142c8e264cb9a1a5db8b4bda8c88bc19b6c..071d0a29a6a4856c23a22d61b81b75b07401bd90 100644 (file)
@@ -81,7 +81,6 @@ aclHostDomainCompare( char *const &a, char * const &b)
     return matchDomainName(h, d);
 }
 
-
 /* compare two domains */
 
 template<class T>
@@ -167,7 +166,6 @@ ACLDomainData::empty() const
     return domains->empty();
 }
 
-
 ACLData<char const *> *
 ACLDomainData::clone() const
 {
index 5ccd8842a8a625433b75c0ef2ba4046f5504f30c..c2e41454120635076957a76cde13d090eb8a3ce3 100644 (file)
@@ -49,7 +49,6 @@ static int aclMatchEui(SplayNode<Eui::Eui64 *> **dataptr, Ip::Address &c);
 static SplayNode<Eui::Eui64 *>::SPLAYCMP aclEui64Compare;
 static SplayNode<Eui::Eui64 *>::SPLAYWALKEE aclDumpEuiListWalkee;
 
-
 ACL *
 ACLEui64::clone() const
 {
@@ -106,7 +105,6 @@ aclParseEuiData(const char *t)
     return q;
 }
 
-
 /*******************/
 /* aclParseEuiList */
 /*******************/
index 34cdca4b245ff43cdc9c638e148af94f94fc38f3..1d8cfd5f88fc2b7e9fec8dcf2b2d9568a8f7667f 100644 (file)
@@ -41,7 +41,6 @@ namespace Eui
 class Eui64;
 };
 
-
 /// \ingroup ACLAPI
 class ACLEui64 : public ACL
 {
index 47a93550998bd5e13c553d10b769db87c46337fc..eea3fd96ea706a5664f067ffbc5a138b2f7de23b 100644 (file)
 #include "auth/AclProxyAuth.h"
 #endif
 
-
 CBDATA_CLASS_INIT(ACLFilledChecklist);
 
-
 void *
 ACLFilledChecklist::operator new (size_t size)
 {
@@ -30,7 +28,6 @@ ACLFilledChecklist::operator delete (void *address)
     cbdataFree(t);
 }
 
-
 ACLFilledChecklist::ACLFilledChecklist() :
         dst_peer(NULL),
         dst_rdns(NULL),
@@ -57,7 +54,6 @@ ACLFilledChecklist::ACLFilledChecklist() :
     rfc931[0] = '\0';
 }
 
-
 ACLFilledChecklist::~ACLFilledChecklist()
 {
     assert (!asyncInProgress());
@@ -80,7 +76,6 @@ ACLFilledChecklist::~ACLFilledChecklist()
     debugs(28, 4, HERE << "ACLFilledChecklist destroyed " << this);
 }
 
-
 ConnStateData *
 ACLFilledChecklist::conn() const
 {
index 58c14654e6bd9e0298b5bea23df054f923ccf1c9..3733f9a9ee6ee37620167f5b9fcf0f56202f2eff 100644 (file)
@@ -49,7 +49,6 @@
 #include "HttpRequest.h"
 #include "protos.h"
 
-
 /* does name lookup, returns page_id */
 err_type
 aclGetDenyInfoPage(acl_deny_info_list ** head, const char *name, int redirect_allowed)
@@ -99,7 +98,6 @@ aclIsProxyAuth(const char *name)
     return false;
 }
 
-
 /* maex@space.net (05.09.96)
  *    get the info for redirecting "access denied" to info pages
  *      TODO (probably ;-)
@@ -235,8 +233,6 @@ aclParseAclList(ConfigParser &parser, ACLList ** head)
     }
 }
 
-
-
 /*********************/
 /* Destroy functions */
 /*********************/
index 70bf4f41abef02831576969273beb17adda9d67a..3072ca4e19576812239726c437607a990292029e 100644 (file)
@@ -8,7 +8,6 @@
 
 template class ACLStrategised<hier_code>;
 
-
 int
 ACLHierCodeStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
 {
index 89ca1ecb05928bf699665519581e34911f86a351..659f60ef05a76a9f9c47e912daec37034ecbcfd7 100644 (file)
@@ -39,8 +39,6 @@
 #include "acl/Checklist.h"
 #include "HttpReply.h"
 
-
-
 int
 ACLHTTPRepHeaderStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
 {
index 169d338356300a3f44698b87e6a14f89bfb56ebb..1928b4d910aa90740738213065de7868f8d1df1b 100644 (file)
@@ -39,8 +39,6 @@
 #include "acl/Checklist.h"
 #include "HttpRequest.h"
 
-
-
 int
 ACLHTTPReqHeaderStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
 {
index 03cb5d76b800e11fb7e5479fdd363b1452b42a67..f419810233d4da73e1aaf7263cce6cd552d576d5 100644 (file)
@@ -85,8 +85,6 @@ int acl_httpstatus_data::compare(acl_httpstatus_data* const& a, acl_httpstatus_d
     return ret;
 }
 
-
-
 ACL *
 ACLHTTPStatus::clone() const
 {
@@ -136,7 +134,6 @@ aclParseHTTPStatusData(const char *t)
     return new acl_httpstatus_data(status, INT_MAX);
 }
 
-
 void
 ACLHTTPStatus::parse()
 {
index 7aa3d0515523a49e48e1712a1c2c1e2b73f9723b..2faeb7991b72ce8da0cb382881f1a62690b8ce05 100644 (file)
@@ -148,7 +148,6 @@ aclIpAddrNetworkCompare(acl_ip_data * const &p, acl_ip_data * const &q)
     }
 }
 
-
 /*
  * acl_ip_data::NetworkCompare - Compare two acl_ip_data entries.  Strictly
  * used by the splay insertion routine.  It emits a warning if it
index ab04b796eeaf3f620c643ff6cf76f53b7ff5cc41..00a23d17be8a4665990eff42134634324b6ca92f 100644 (file)
@@ -49,9 +49,6 @@ ACLLocalIP::match(ACLChecklist *checklist)
     return ACLIP::match (Filled(checklist)->my_addr);
 }
 
-
-
-
 ACL *
 ACLLocalIP::clone() const
 {
index 5039967ee4950ddd6a016c5e8253f8de577f09e0..cea93665edc3526ddfc30aa6f38e68da364fb01c 100644 (file)
@@ -43,8 +43,6 @@
 
 template class ACLStrategised<HttpRequestMethod>;
 
-
-
 int
 ACLMethodStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
 {
index e8c7e27919e117858aeb4ba4a2d4800dbce8549c..0d7b584823e86b7d2c43b7501e55753a69c59331 100644 (file)
@@ -4,8 +4,6 @@
 #include "acl/StringData.h"
 #include "acl/Checklist.h"
 
-
-
 int
 ACLPeerNameStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
 {
index 6d0a4e0a6e671c721693827fc52b61d3049fc0b8..b6a133d9fd12e0196f50271e2fe06ebc778f4307 100644 (file)
@@ -43,8 +43,6 @@
 
 template class ACLStrategised<AnyP::ProtocolType>;
 
-
-
 int
 ACLProtocolStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
 {
index 415903aa6a6f2756a87f0adbe4a9557c75a33939..607d8278503050bf802016b20f1ffc7947e49eb9 100644 (file)
@@ -43,4 +43,3 @@
 
 template class ACLRequestHeaderStrategy<HDR_REFERER>;
 
-
index 265be3efeb18c05a845cae4dec8dd7327814e4ba..d8fa119239a767d6cfadf9c5b3571001342ac699 100644 (file)
@@ -43,4 +43,3 @@
 
 template class ACLReplyHeaderStrategy<HDR_CONTENT_TYPE>;
 
-
index d7f96dd3f30d6c64800ad092cb35b97c4d4616c3..b2542ac6b854c54102ed42f36d365431f5401f63 100644 (file)
@@ -43,4 +43,3 @@
 
 template class ACLRequestHeaderStrategy<HDR_CONTENT_TYPE>;
 
-
index 61ff7fb1744128641bf409043ff219cbe3910fe0..c4a1c6ab4245387cb0603192b79aafb7ec2ff5e0 100644 (file)
@@ -70,7 +70,6 @@ SourceDomainLookup::LookupDone(const char *fqdn, const DnsLookupDetails &details
     checklist->matchNonBlocking();
 }
 
-
 int
 ACLSourceDomainStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
 {
index 654dbade07b1d88f1c7732f87f7968f6bf4ef774..8712b6ed22e535e18b792aba3c5b6dd3a389a25d 100644 (file)
@@ -49,8 +49,6 @@ ACLSourceIP::match(ACLChecklist *checklist)
     return ACLIP::match(Filled(checklist)->src_addr);
 }
 
-
-
 ACL *
 ACLSourceIP::clone() const
 {
index 587ac27d8c9cfe365360ddc591a3005775fbb2b0..aa4d593363572bd2bb7ad6e477c0ed5a1464237d 100644 (file)
@@ -39,7 +39,6 @@
 #include "acl/Acl.h"
 #include "acl/Data.h"
 
-
 class ACLStringData : public ACLData<char const *>
 {
 
index d4007ec071edb2f55d52774d6fc91ec3c9a56b3b..fcf28f292b785d6ce91ab42443f9af52e1df254f 100644 (file)
@@ -39,7 +39,6 @@
 #include "acl/TimeData.h"
 #include "SquidTime.h"
 
-
 int
 ACLTimeStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
 {
index e575c563f8107dee26ddceb17362eff8a12ef321..005c1985db0ebbb97a2c3c2e172bc116d3f06806 100644 (file)
@@ -39,7 +39,6 @@
 #include "acl/Checklist.h"
 #include "HttpRequest.h"
 
-
 int
 ACLUrlPortStrategy::match (ACLData<MatchType> * &data, ACLFilledChecklist *checklist)
 {
index bcebedd4f92e7eb36ccf84d6e4558d495debf9de..387244b6776dc7dc802d512de5ea47ead507c095 100644 (file)
@@ -161,7 +161,6 @@ ACLUserData::parse()
     }
 }
 
-
 bool
 ACLUserData::empty() const
 {
index 8c9b53e8168833369b3d1fcc8d1f40fe8a7e965f..03b9804bd191d21461d1c3e8708c81204ecce083 100644 (file)
@@ -49,7 +49,6 @@ Adaptation::AccessRule::group()
     return FindGroup(groupId);
 }
 
-
 Adaptation::AccessRules &
 Adaptation::AllRules()
 {
index cf80ada19d97b109ec541aa4abe25aa101b73170..5d9fe82ce8bc154fca62798c83f389aa84d1fc2d 100644 (file)
@@ -24,7 +24,6 @@ Adaptation::Answer::Forward(HttpMsg *aMsg)
     return answer;
 }
 
-
 Adaptation::Answer
 Adaptation::Answer::Block(const String &aRule)
 {
index 9fc5fe978326f515adb9c7fabc02c01f5ff04570..4db5a4e78dc0341d9449e5b652fb6caaa31ecb67 100644 (file)
@@ -54,7 +54,6 @@ int Adaptation::Config::send_username = false;
 int Adaptation::Config::use_indirect_client = true;
 Adaptation::Config::MetaHeaders Adaptation::Config::metaHeaders;
 
-
 Adaptation::Config::MetaHeader::Value::~Value()
 {
     aclDestroyAclList(&aclList);
@@ -101,7 +100,6 @@ Adaptation::Config::addMetaHeader(const String &headerName)
     return meta;
 }
 
-
 Adaptation::ServiceConfig*
 Adaptation::Config::newServiceConfig() const
 {
index 613ea0ed08e7bb0c4d9e5c9b6e6e10cc1b477bdd..1b26c50f2a437fba590f749351a2293749528e18 100644 (file)
@@ -27,7 +27,6 @@ Adaptation::methodStr(Adaptation::Method method)
     return "NONE";
 }
 
-
 const char *
 Adaptation::vectPointStr(Adaptation::VectPoint point)
 {
@@ -48,4 +47,3 @@ Adaptation::vectPointStr(Adaptation::VectPoint point)
     return "NONE";
 }
 
-
index 3c4c4ded0b8a255e3166d28a2ff4dfafd2115323..a775e2ad6720c8dbb086f35dc20dc1813c3444d2 100644 (file)
@@ -32,7 +32,6 @@ int Adaptation::History::Entry::rptm()
     return theRptm;
 }
 
-
 Adaptation::History::History():
         lastMeta(hoReply),
         allMeta(hoReply),
index ffe3198f455ae21e202f0cd98a42521d3654c377..d9c714fe4c1848cd9abbe7edd6017ff50a74f3a2 100644 (file)
@@ -10,7 +10,6 @@
 namespace Adaptation
 {
 
-
 /// collects information about adaptations related to a master transaction
 class History: public RefCountable
 {
index c40dd5bfb95dcd1fce08cbb43f6efda0ac6390ca..68c2bca3508b5fdcea0168ca0e299b45b9d0fcb2 100644 (file)
@@ -52,7 +52,6 @@ Adaptation::Initiate::initiator(const CbcPointer<Initiator> &i)
     theInitiator = i;
 }
 
-
 // internal cleanup
 void Adaptation::Initiate::swanSong()
 {
@@ -79,7 +78,6 @@ void Adaptation::Initiate::sendAnswer(const Answer &answer)
     clearInitiator();
 }
 
-
 void Adaptation::Initiate::tellQueryAborted(bool final)
 {
     sendAnswer(Answer::Error(final));
index 83302c78e36b63522169fafee68f420fa015b05b..bbd70f82eefad26650e90c3119d6f07391a3f41a 100644 (file)
@@ -14,7 +14,6 @@
 #include "HttpReply.h"
 #include "HttpMsg.h"
 
-
 Adaptation::Iterator::Iterator(
     HttpMsg *aMsg, HttpRequest *aCause,
     const ServiceGroupPointer &aGroup):
index c980edcf6d44dee80c900b4ae10b0b5257bb006f..c0d2958bbc5884aeddbfd9b0054771016e27c35c 100644 (file)
@@ -66,5 +66,4 @@ protected:
 
 } // namespace Adaptation
 
-
 #endif /* SQUID_ADAPTATION__ITERATOR_H */
index dd297d8a91ae0682b23dfcc198440ba511502813..730035db8da53017cbfb10d00e3ddf4c855d52ba 100644 (file)
@@ -51,7 +51,6 @@ Adaptation::Service::wants(const ServiceFilter &filter) const
     return true;
 }
 
-
 Adaptation::Services &
 Adaptation::AllServices()
 {
index 779a288ed6729a0b9d2f2b311571d1a047cbfde9..ef81209326fc024ec03fa8431180396c18bef801 100644 (file)
@@ -250,7 +250,6 @@ Adaptation::ServiceConfig::grokUri(const char *value)
     return true;
 }
 
-
 bool
 Adaptation::ServiceConfig::grokBool(bool &var, const char *name, const char *value)
 {
index eb3965b89c49a3bfaf387eeaa7d8acd6a5ca69a1..f7cd8d398982734cda44c24eb180bc75b2d7011b 100644 (file)
@@ -3,7 +3,6 @@
 #include "HttpReply.h"
 #include "adaptation/ServiceFilter.h"
 
-
 Adaptation::ServiceFilter::ServiceFilter(Method aMethod, VectPoint aPoint,
         HttpRequest *aReq, HttpReply *aRep): method(aMethod), point(aPoint),
         request(HTTPMSGLOCK(aReq)),
index 0838aad6e74d7982919a13ccf30a23377801e93b..55802cb6eb1ff8fe602a1202ccad5183174adffe 100644 (file)
@@ -10,7 +10,6 @@
 #include "protos.h"
 #include "wordlist.h"
 
-
 Adaptation::ServiceGroup::ServiceGroup(const String &aKind, bool allSame):
         kind(aKind), method(methodNone), point(pointNone),
         allServicesSame(allSame)
@@ -195,14 +194,12 @@ Adaptation::ServiceGroup::findLink(const ServiceFilter &filter, Pos &pos) const
     return !allServicesSame && findService(filter, pos);
 }
 
-
 /* ServiceSet */
 
 Adaptation::ServiceSet::ServiceSet(): ServiceGroup("adaptation set", true)
 {
 }
 
-
 /* SingleService */
 
 Adaptation::SingleService::SingleService(const String &aServiceId):
@@ -212,14 +209,12 @@ Adaptation::SingleService::SingleService(const String &aServiceId):
     services.push_back(aServiceId);
 }
 
-
 /* ServiceChain */
 
 Adaptation::ServiceChain::ServiceChain(): ServiceGroup("adaptation chain", false)
 {
 }
 
-
 /* DynamicServiceChain */
 
 Adaptation::DynamicServiceChain::DynamicServiceChain(
@@ -315,7 +310,6 @@ Adaptation::ServicePlan::print(std::ostream &os) const
            (atEof ? ".]" : "]");
 }
 
-
 /* globals */
 
 Adaptation::Groups &
index 8d46f9c66cabaa3f51247d7b67eacf9d35fe1c2e..d53fb79dbf30643251659a217c44f85a75885390 100644 (file)
@@ -108,7 +108,6 @@ public:
                       DynamicGroupCfg &current, DynamicGroupCfg &future);
 };
 
-
 /** iterates services stored in a group; iteration is not linear because we
     need to both replace failed services and advance to the next chain link */
 class ServicePlan
@@ -146,7 +145,6 @@ typedef Vector<ServiceGroupPointer> Groups;
 extern Groups &AllGroups();
 extern ServiceGroupPointer FindGroup(const ServiceGroup::Id &id);
 
-
 } // namespace Adaptation
 
 #endif /* SQUID_ADAPTATION__SERVICE_GROUPS_H */
index d8b6bf77c709a8c69e24acd796bf6f3a145897f6..34046ae1dfc8530c8c4e6ea3990e0ab84217ebdd 100644 (file)
@@ -39,7 +39,6 @@ Adaptation::Ecap::Config::createService(const ServiceConfigPointer &cfg)
     return new Adaptation::Ecap::ServiceRep(cfg);
 }
 
-
 /* ServiceConfig */
 
 bool
index f9b5a56fbbe1c4363b89187626ca3669a583d94d..b2b165cd51b1bdea6635bc832c8e8606e5cac6b1 100644 (file)
@@ -29,7 +29,6 @@ public:
     Extensions extensions;
 };
 
-
 /// General eCAP configuration
 class Config: public Adaptation::Config
 {
index 629ae1d2309380128789a8feb04bebb54f2b5d82..df38fed72c6f11a95a123639b63c29b89d7fb157 100644 (file)
@@ -111,7 +111,6 @@ Adaptation::Ecap::Host::closeDebug(std::ostream *debug)
         Debug::finishDebug();
 }
 
-
 Adaptation::Ecap::Host::MessagePtr
 Adaptation::Ecap::Host::newRequest() const
 {
index feb33e7bc45c26b6d3a5a7d441900cc207612ddd..ab52c2e454fdb0f193a864bfc3301d130c23fd3b 100644 (file)
@@ -111,7 +111,6 @@ Adaptation::Ecap::HeaderRep::TranslateHeaderId(const Name &name)
     return HDR_OTHER;
 }
 
-
 /* FirstLineRep */
 
 Adaptation::Ecap::FirstLineRep::FirstLineRep(HttpMsg &aMessage): theMessage(aMessage)
@@ -193,7 +192,6 @@ Adaptation::Ecap::FirstLineRep::TranslateProtocolId(const Name &name)
     return AnyP::PROTO_UNKNOWN;
 }
 
-
 /* RequestHeaderRep */
 
 Adaptation::Ecap::RequestLineRep::RequestLineRep(HttpRequest &aMessage):
@@ -284,7 +282,6 @@ Adaptation::Ecap::RequestLineRep::protocol(const Name &p)
     FirstLineRep::protocol(p);
 }
 
-
 /* ReplyHeaderRep */
 
 Adaptation::Ecap::StatusLineRep::StatusLineRep(HttpReply &aMessage):
@@ -364,7 +361,6 @@ Adaptation::Ecap::BodyRep::bodySize() const
     return !theBody ? BodySize() : BodySize(theBody->bodySize());
 }
 
-
 /* MessageRep */
 
 Adaptation::Ecap::MessageRep::MessageRep(HttpMsg *rawHeader):
index 032537da03f549a4635afc2ab6ac16dd7d73808c..9d55c2c62f9dabbd5e1905cb17eabcf78cc75678 100644 (file)
@@ -53,7 +53,6 @@ private:
     HttpMsg &theMessage;   // the message being translated to libecap
 };
 
-
 // Helps translate Squid HttpMsg into libecap::FirstLine (see children).
 class FirstLineRep
 {
@@ -123,7 +122,6 @@ private:
     HttpReply &theMessage; // the request header being translated to libecap
 };
 
-
 // Translates Squid BodyPipe into libecap::Body.
 class BodyRep: public libecap::Body
 {
index 85eccecf156fe2544d2ed8a28755040d0d34be03..260850591bd68334f363aff07e66fb8ea1eb296e 100644 (file)
@@ -42,7 +42,6 @@ public:
 } // namespace Ecap
 } // namespace Adaptation
 
-
 Adaptation::Ecap::ConfigRep::ConfigRep(const Master &aMaster): master(aMaster)
 {
 }
@@ -77,8 +76,6 @@ Adaptation::Ecap::ConfigRep::visitEachOption(libecap::NamedValueVisitor &visitor
         visitor.visit(Name(i->first), Area::FromTempString(i->second));
 }
 
-
-
 Adaptation::Ecap::ServiceRep::ServiceRep(const ServiceConfigPointer &cfg):
         /*AsyncJob("Adaptation::Ecap::ServiceRep"),*/ Adaptation::Service(cfg),
         isDetached(false)
index 4a55190ad493964bba5a1def94a7408e2a691e52..61473c9009b4b1556da5e9b8674a8e312f4aa186 100644 (file)
@@ -18,7 +18,6 @@
 
 CBDATA_NAMESPACED_CLASS_INIT(Adaptation::Ecap::XactionRep, XactionRep);
 
-
 /// a libecap Visitor for converting adapter transaction options to HttpHeader
 class OptionsExtractor: public libecap::NamedValueVisitor
 {
@@ -464,7 +463,6 @@ Adaptation::Ecap::XactionRep::updateHistory(HttpMsg *adapted)
         adaptedReq->adaptHistoryImport(*request);
 }
 
-
 void
 Adaptation::Ecap::XactionRep::vbDiscard()
 {
@@ -678,7 +676,6 @@ Adaptation::Ecap::XactionRep::status() const
     if (vbProductionFinished)
         buf.append(".", 1);
 
-
     buf.Printf(" A%d", static_cast<int>(proxyingAb));
 
     if (proxyingAb == opOn) {
index 4bd6160b094af21b382dc84bd3f3f29e6f2b8b15..17b9c2b2f896251f5498237e052f9dec949a6758 100644 (file)
@@ -36,7 +36,6 @@
 
 // ICAP-related things needed by code unaware of ICAP internals.
 
-
 namespace Adaptation
 {
 namespace Icap
@@ -45,7 +44,6 @@ namespace Icap
 extern void InitModule();
 extern void CleanModule();
 
-
 } // namespace Icap
 } // namespace Adaptation
 
index 587953aab23f80bdc102b98e4442915b53ab8108..2d4d6c8d4f44e9b72e518a45accda7a07e4be025 100644 (file)
@@ -81,7 +81,6 @@ private:
 
 extern Config TheConfig;
 
-
 } // namespace Icap
 } // namespace Adaptation
 
index 1e9ad8e18c0328d737ce1cb66e61c2e84ea5dcbf..d4627f7c4d6562d19fa0d06a742dad6266decedb 100644 (file)
@@ -38,7 +38,6 @@
 
 // ICAP-related things shared by many ICAP classes
 
-
 namespace Adaptation
 {
 namespace Icap
index de0c6c39c5cfc817603f42892d1893d6b86871a6..f497a0a029c973886f983ff37c081d9783b04e75 100644 (file)
@@ -43,7 +43,6 @@
 // as the "cause". ICAP transactions use this class to store virgin
 // and adapted HTTP messages.
 
-
 namespace Adaptation
 {
 namespace Icap
@@ -90,7 +89,6 @@ public:
 
 // TODO: s/Header/Message/i ?
 
-
 } // namespace Icap
 } // namespace Adaptation
 
index 49f56a821ee55ca85a396d100210e0b4c09467eb..23facedb2839f38635b27c65da84e69aa05f3458 100644 (file)
@@ -15,7 +15,6 @@
 #include "HttpRequest.h"
 #include "HttpReply.h"
 
-
 Adaptation::Icap::Launcher::Launcher(const char *aTypeName,
                                      Adaptation::ServicePointer &aService):
         AsyncJob(aTypeName),
index 166f5705d1294101d70281284fe093ce88852b13..f9f55262cf1cdd19598099066127e30d5aa2b700 100644 (file)
@@ -58,7 +58,6 @@
  * ICAP transactions.
  */
 
-
 namespace Adaptation
 {
 namespace Icap
@@ -136,5 +135,4 @@ operator <<(std::ostream &os, const XactAbortInfo &xai)
 } // namespace Icap
 } // namespace Adaptation
 
-
 #endif /* SQUID_ICAPLAUNCHER_H */
index 49caee611b50ed85913a1b840d259720217458e2..cedd2a73f9530d6d8793299b3022a15fed309411 100644 (file)
@@ -716,8 +716,6 @@ void Adaptation::Icap::ModXact::disableBypass(const char *reason, bool including
     }
 }
 
-
-
 // note that allocation for echoing is done in handle204NoContent()
 void Adaptation::Icap::ModXact::maybeAllocateHttpMsg()
 {
@@ -1318,7 +1316,6 @@ void Adaptation::Icap::ModXact::finalizeLogInfo()
     Xaction::finalizeLogInfo();
 }
 
-
 void Adaptation::Icap::ModXact::makeRequestHeaders(MemBuf &buf)
 {
     char ntoabuf[MAX_IPSTRLEN];
@@ -1365,7 +1362,6 @@ void Adaptation::Icap::ModXact::makeRequestHeaders(MemBuf &buf)
         }
     }
 
-
     buf.Printf("Encapsulated: ");
 
     MemBuf httpBuf;
@@ -1785,7 +1781,6 @@ void Adaptation::Icap::ModXact::makeAdaptedBodyPipe(const char *what)
            adapted.body_pipe << " pipe");
 }
 
-
 // TODO: Move SizedEstimate and Preview elsewhere
 
 Adaptation::Icap::SizedEstimate::SizedEstimate()
@@ -1814,8 +1809,6 @@ uint64_t Adaptation::Icap::SizedEstimate::size() const
     return static_cast<uint64_t>(theData);
 }
 
-
-
 Adaptation::Icap::VirginBodyAct::VirginBodyAct(): theStart(0), theState(stUndecided)
 {}
 
@@ -1847,7 +1840,6 @@ uint64_t Adaptation::Icap::VirginBodyAct::offset() const
     return static_cast<uint64_t>(theStart);
 }
 
-
 Adaptation::Icap::Preview::Preview(): theWritten(0), theAd(0), theState(stDisabled)
 {}
 
index c5cc0f628cc7b64f37f54d9f393713e2eb4466db..4694d64a94a8ea5122fed3f297ce18a629e0c51d 100644 (file)
@@ -49,7 +49,6 @@
  * receive the HTTP body.
  */
 
-
 class ChunkedCodingParser;
 
 namespace Adaptation
@@ -106,7 +105,6 @@ private:
     State theState;
 };
 
-
 // maintains preview-related sizes
 
 class Preview
@@ -365,7 +363,6 @@ private:
     CBDATA_CLASS2(ModXactLauncher);
 };
 
-
 } // namespace Icap
 } // namespace Adaptation
 
index 4607d1543f64c228679e2263a32d5c000c01cc6a..52a2b9200d588b487c399e54f89abbef06961dfa 100644 (file)
@@ -17,7 +17,6 @@
 CBDATA_NAMESPACED_CLASS_INIT(Adaptation::Icap, OptXact);
 CBDATA_NAMESPACED_CLASS_INIT(Adaptation::Icap, OptXactLauncher);
 
-
 Adaptation::Icap::OptXact::OptXact(Adaptation::Icap::ServiceRep::Pointer &aService):
         AsyncJob("Adaptation::Icap::OptXact"),
         Adaptation::Icap::Xaction("Adaptation::Icap::OptXact", aService),
index d59fd28a5dd9ec6520a0ec05dce5891005813851..b20e2e430a68333cf81e77d01469741586b1e35c 100644 (file)
@@ -36,7 +36,6 @@
 #include "adaptation/icap/Xaction.h"
 #include "adaptation/icap/Launcher.h"
 
-
 namespace Adaptation
 {
 namespace Icap
@@ -89,7 +88,6 @@ private:
     CBDATA_CLASS2(OptXactLauncher);
 };
 
-
 } // namespace Icap
 } // namespace Adaptation
 
index f1db7cf2166595e53c4560dd6189331da609170c..60bca9ac0860c0f495281dce2259080409e2c016 100644 (file)
@@ -155,7 +155,6 @@ void Adaptation::Icap::Options::cfgTransferList(const HttpHeader *h, TransferLis
     list.report(5, "Adaptation::Icap::Options::cfgTransferList: ");
 }
 
-
 /* Adaptation::Icap::Options::TransferList */
 
 Adaptation::Icap::Options::TransferList::TransferList(): extensions(NULL), name(NULL),
index 641b3a6715c9279dc2c24487dd0acb5ebd156f26..74552e0052b49fea318b512a87c0ea65af7b93ea 100644 (file)
@@ -122,9 +122,6 @@ private:
     void cfgTransferList(const HttpHeader *h, TransferList &l);
 };
 
-
-
-
 } // namespace Icap
 } // namespace Adaptation
 
index f789e2655a29064f3a78fd6577a65636e18c7168..82087c34eaf6f38669337760682de87638249828 100644 (file)
@@ -295,7 +295,6 @@ bool Adaptation::Icap::ServiceRep::availableForOld() const
     return (available != 0); // it is -1 (no limit) or has available slots
 }
 
-
 bool Adaptation::Icap::ServiceRep::wantsUrl(const String &urlPath) const
 {
     Must(hasOptions());
@@ -331,7 +330,6 @@ bool Adaptation::Icap::ServiceRep::allows206() const
     return false;
 }
 
-
 static
 void ServiceRep_noteTimeToUpdate(void *data)
 {
@@ -492,7 +490,6 @@ void Adaptation::Icap::ServiceRep::checkOptions()
         }
     }
 
-
     /*
      *  Check the ICAP server's date header for clock skew
      */
index f39e2f4e6bcf75fd3e65deb4dd411506f5e866d9..5fb346ca50c845eb9c471512187ea343e651639c 100644 (file)
@@ -81,7 +81,6 @@ class OptXact;
  * auto-destroyed by refcounting when no longer used.
  */
 
-
 class ServiceRep : public RefCountable, public Adaptation::Service,
         public Adaptation::Initiator
 {
index 9f0edbe6a3b58a9cc7d5e05a1cc954a433ca3ac1..7ead755492b92d3e59d1766a78634397e787d1b3 100644 (file)
@@ -25,7 +25,6 @@
 #include "protos.h"
 #include "SquidTime.h"
 
-
 //CBDATA_NAMESPACED_CLASS_INIT(Adaptation::Icap, Xaction);
 
 Adaptation::Icap::Xaction::Xaction(const char *aTypeName, Adaptation::Icap::ServiceRep::Pointer &aService):
@@ -333,7 +332,6 @@ void Adaptation::Icap::Xaction::callException(const std::exception  &e)
     Adaptation::Initiate::callException(e);
 }
 
-
 void Adaptation::Icap::Xaction::callEnd()
 {
     if (doneWithIo()) {
@@ -537,7 +535,6 @@ void Adaptation::Icap::Xaction::tellQueryAborted()
     }
 }
 
-
 void Adaptation::Icap::Xaction::maybeLog()
 {
     if (IcapLogfileStatus == LOG_ENABLE) {
index b28050069ac20d67cc52f6d2f83e08cf9504ac66..88b2bff4e5bde113812f1ede73ba6a716f1e0fce 100644 (file)
@@ -193,7 +193,6 @@ private:
     //CBDATA_CLASS2(Xaction);
 };
 
-
 } // namespace Icap
 } // namespace Adaptation
 
index 8e76310e8eb14b4fb5d897401d573e8f436862dd..d9fde45130574660681d428188529be9e3bd1f6d 100644 (file)
@@ -80,7 +80,6 @@ Auth::User::credentials(CredentialState newCreds)
     credentials_state = newCreds;
 }
 
-
 /**
  * Combine two user structs. ONLY to be called from within a scheme
  * module. The scheme module is responsible for ensuring that the
index 15bdc5a9a88d0a2402652ac5dcd836ae2c613d9e..c29b995e5379d15d550a5d8237c8ed3895bde3d5 100644 (file)
@@ -193,7 +193,6 @@ authenticateAuthUserRequestIPCount(Auth::UserRequest::Pointer auth_user_request)
     return auth_user_request->user()->ipcount;
 }
 
-
 /*
  * authenticateUserAuthenticated: is this auth_user structure logged in ?
  */
index dde49bfe2c86b802cd3a6ca713f649e0cff83f8c..d8cef00b724ad9c8bd3cc686b4c4dc7778402b31 100644 (file)
@@ -36,7 +36,6 @@
  * They DO NOT perform access control or auditing.
  * See acl.c for access control and client_side.c for auditing */
 
-
 #include "squid.h"
 #include "auth/basic/auth_basic.h"
 #include "auth/basic/Scheme.h"
@@ -61,7 +60,6 @@ helper *basicauthenticators = NULL;
 
 static int authbasic_initialised = 0;
 
-
 /*
  *
  * Public Functions
index 48715c112c846f5d7cda87c49951abd648c1559f..c7713e84c50a6a6cca14f5e1d1ec811b47b2f41a 100644 (file)
@@ -36,7 +36,6 @@
  * They DO NOT perform access control or auditing.
  * See acl.c for access control and client_side.c for auditing */
 
-
 #include "squid.h"
 #include "rfc2617.h"
 #include "auth/digest/auth_digest.h"
@@ -678,7 +677,6 @@ Auth::Digest::Config::type() const
     return Auth::Digest::Scheme::GetInstance()->type();
 }
 
-
 static void
 authenticateDigestStats(StoreEntry * sentry)
 {
@@ -920,7 +918,6 @@ Auth::Digest::Config::decode(char const *proxy_auth)
 
     temp.clean();
 
-
     /* now we validate the data given to us */
 
     /*
@@ -1035,7 +1032,6 @@ Auth::Digest::Config::decode(char const *proxy_auth)
 
     /* the method we'll check at the authenticate step as well */
 
-
     /* we don't send or parse opaques. Ok so we're flexable ... */
 
     /* find the user */
index 5bd3f75f2c742f773c171f57ec2cd940a4d31cbc..a82f0f0f932a215188974f0dc72644bf458ab548 100644 (file)
@@ -36,7 +36,6 @@
  * They DO NOT perform access control or auditing.
  * See acl.c for access control and client_side.c for auditing */
 
-
 #include "squid.h"
 #include "auth/negotiate/auth_negotiate.h"
 #include "auth/Gadgets.h"
index b4c2ea00e8886a7b3a5ebe8bde129ee14adb918e..354714185122132664c29a1e2fdeee1640d04460 100644 (file)
@@ -36,7 +36,6 @@
  * They DO NOT perform access control or auditing.
  * See acl.c for access control and client_side.c for auditing */
 
-
 #include "squid.h"
 #include "auth/Gadgets.h"
 #include "auth/ntlm/auth_ntlm.h"
index 621353b50395f98f174837922aeb30391e4c1fbd..eae5c72abfad04981b5c83e149dee00b701e31c9 100644 (file)
@@ -11,7 +11,6 @@
 
 InstanceIdDefinitions(AsyncCall, "call");
 
-
 /* AsyncCall */
 
 AsyncCall::AsyncCall(int aDebugSection, int aDebugLevel,
index 74f2864baec27256474106b4283c3bc52a46fecc..409940804419716ae5583d380eded619d8eb657c 100644 (file)
@@ -162,5 +162,4 @@ extern bool ScheduleCall(const char *fileName, int fileLine, AsyncCall::Pointer
 /** Call scheduling helper. */
 #define ScheduleCallHere(call) ScheduleCall(__FILE__, __LINE__, (call))
 
-
 #endif /* SQUID_ASYNCCALL_H */
index ee899be624fa2c444d65850cb2a8d804237f0ffa..b08b072d71a4ff55764dd56ed6c52520223d8319 100644 (file)
@@ -13,7 +13,6 @@
 
 AsyncCallQueue *AsyncCallQueue::TheInstance = 0;
 
-
 AsyncCallQueue::AsyncCallQueue(): theHead(NULL), theTail(NULL)
 {
 }
index 34c5bc57edd0eeb66e12c3ba0b164aa1f8138542..04f688d082c34f6257e9612570cee8e16d4fbb49 100644 (file)
@@ -163,4 +163,3 @@ const char *AsyncJob::status() const
     return buf.content();
 }
 
-
index c2c861f7c1ee1ac4fd7e09fdaf28a90e6f3ebd9b..83eb888e0341a11f57473af7e47d2a7b48b0bb5f 100644 (file)
@@ -51,7 +51,6 @@ CallJob(int debugSection, int debugLevel, const char *fileName, int fileLine,
     return ScheduleCall(fileName, fileLine, call);
 }
 
-
 #define CallJobHere(debugSection, debugLevel, job, Class, method) \
     CallJob((debugSection), (debugLevel), __FILE__, __LINE__, \
         (#Class "::" #method), \
@@ -62,13 +61,11 @@ CallJob(int debugSection, int debugLevel, const char *fileName, int fileLine,
         (#Class "::" #method), \
         JobMemFun((job), &Class::method, (arg1)))
 
-
 /// Convenience macro to create a Dialer-based job callback
 #define JobCallback(dbgSection, dbgLevel, Dialer, job, method) \
     asyncCall((dbgSection), (dbgLevel), #method, \
         Dialer(CbcPointer<Dialer::DestClass>(job), &method))
 
-
 /*
  * *MemFunT are member function (i.e., class method) wrappers. They store
  * details of a method call in an object so that the call can be delayed
@@ -123,7 +120,6 @@ protected:
 
 // ... add more as needed
 
-
 // Now we add global templated functions that create the member function
 // wrappers above. These are for convenience: it is often easier to
 // call a templated function than to create a templated object.
@@ -143,7 +139,6 @@ JobMemFun(const CbcPointer<C> &job, typename UnaryMemFunT<C, Argument1>::Method
     return UnaryMemFunT<C, Argument1>(job, method, arg1);
 }
 
-
 // inlined methods
 
 template<class Job>
index ef93009e5fc092062bff538c781109e2302fc112..9ae32f2fa6092174168bfe1585bcd595d8ae02b8 100644 (file)
@@ -158,5 +158,4 @@ std::ostream &CbcPointer<Cbc>::print(std::ostream &os) const
     return os << cbc << '/' << lock;
 }
 
-
 #endif /* SQUID_CBC_POINTER_H */
index 942aa80cb6fa8627c353a46829ecd2ac891ddf0d..d948b5cd08cfb88df4b6557d51a16ba316c8b1b7 100644 (file)
@@ -48,7 +48,6 @@ private:
         return os << Prefix << value; \
     }
 
-
 /// print the id
 template <class Class>
 inline
@@ -57,5 +56,4 @@ std::ostream &operator <<(std::ostream &os, const InstanceId<Class> &id)
     return id.print(os);
 }
 
-
 #endif /* SQUID_BASE_INSTANCE_ID_H */
index 2c08d243d8b4b9335575c10451ac1dd69c2428f6..8af8f334974643d7524dba801d1ae5ebbb561c3f 100644 (file)
@@ -51,7 +51,6 @@ public:
     virtual void run(const RunnerRegistry &r) = 0;
 };
 
-
 /// registers a given runner with the given registry and returns registry count
 int RegisterRunner(const RunnerRegistry &registry, RegisteredRunner *rr);
 
@@ -60,7 +59,6 @@ int ActivateRegistered(const RunnerRegistry &registry);
 /// deletes all runners in the given registry
 void DeactivateRegistered(const RunnerRegistry &registry);
 
-
 /// convenience function to "use" an otherwise unreferenced static variable
 bool UseThisStatic(const void *);
 
index 58a693b974653e56305e0b74a51dc612a4e55b33..5b46c9bfb1483c9707e20bf5bc36c015f84204c2 100644 (file)
@@ -85,9 +85,6 @@
 #include "snmp.h"
 #endif
 
-
-
-
 #if HAVE_GLOB_H
 #include <glob.h>
 #endif
@@ -623,7 +620,6 @@ parseConfigFile(const char *file_name)
     return err_count;
 }
 
-
 static void
 configDoConfigure(void)
 {
@@ -1095,7 +1091,6 @@ parseBytesLine64(int64_t * bptr, const char *units)
         self_destruct();
 }
 
-
 static void
 parseBytesLine(size_t * bptr, const char *units)
 {
@@ -3303,7 +3298,6 @@ YesNoNone::operator void*() const
     return option > 0 ? (void*)this : NULL;
 }
 
-
 inline void
 free_YesNoNone(YesNoNone *)
 {
@@ -4247,7 +4241,6 @@ free_adaptation_meta_type(Adaptation::Config::MetaHeaders *)
 }
 #endif /* USE_ADAPTATION */
 
-
 #if ICAP_CLIENT
 
 static void
@@ -4286,7 +4279,6 @@ parse_icap_access_type()
 
 #endif
 
-
 #if USE_ECAP
 
 static void
index 32c12c4c05edd7a76c8082f6357a8f2f73fb3c0e..6dc0ffac0f392f4437c977a578fe41ecb062b002 100644 (file)
@@ -53,7 +53,6 @@ typedef struct {
     int bad_del_count;         /* #dels with no prior add */
 } CacheIndex;
 
-
 typedef struct _CacheEntry {
     const cache_key *key;
 
@@ -62,7 +61,6 @@ typedef struct _CacheEntry {
     unsigned char key_arr[SQUID_MD5_DIGEST_LENGTH];
 } CacheEntry;
 
-
 /* copied from url.c */
 const char *RequestMethodStr[] = {
     "NONE",
@@ -75,10 +73,8 @@ const char *RequestMethodStr[] = {
     "PURGE"
 };
 
-
 static int cacheIndexScan(CacheIndex * idx, const char *fname, FILE * file);
 
-
 static CacheEntry *
 cacheEntryCreate(const StoreSwapLogData * s)
 {
@@ -265,7 +261,6 @@ cacheIndexCmp(CacheIndex * idx1, CacheIndex * idx2)
     cacheIndexCmpReport(idx2, shared_count);
 }
 
-
 static int
 usage(const char *prg_name)
 {
index 0be3b44e3a636b42297d89edc9596e53744de188..83445cfe0cb43ce91a2d4c2584a3be32063d0d25 100644 (file)
@@ -56,7 +56,6 @@
 #include "wordlist.h"
 #include <algorithm>
 
-
 /// \ingroup CacheManagerInternal
 #define MGR_PASSWD_SZ 128
 
@@ -77,7 +76,6 @@ private:
     Handler *handler;
 };
 
-
 /// Registers new profiles, ignoring attempts to register a duplicate
 void
 CacheManager::registerProfile(const Mgr::ActionProfile::Pointer &profile)
index 59a639ad2924277d440cdbacbd3ad4e091dd9f45..13fa76df5c94fd0e7513439501b32ae4c8ac3f83 100644 (file)
@@ -208,7 +208,6 @@ cbdata_hash(const void *p, unsigned int mod)
 }
 #endif
 
-
 cbdata::~cbdata()
 {
 #if USE_CBDATA_DEBUG
index bee15725ffa3148507fc55697794357c4f32c13f..76ec4f2d198cade0a351fc2fa2d3a5460171864c 100644 (file)
@@ -276,7 +276,6 @@ extern int cbdataReferenceValid(const void *p);
 /// \ingroup CBDATAAPI
 extern cbdata_type cbdataInternalAddType(cbdata_type type, const char *label, int size, FREE * free_func);
 
-
 /* cbdata macros */
 #if USE_CBDATA_DEBUG
 #define cbdataAlloc(type)      ((type *)cbdataInternalAllocDbg(CBDATA_##type,__FILE__,__LINE__))
index 1744dabc177262e9e37ce8fab5c202dc9814b511..0fc7fc2dc7ebbacd4d80af243497d5813d12aa58 100644 (file)
 /// \ingroup ClientStreamInternal
 CBDATA_TYPE(clientStreamNode);
 
-
 /* Local functions */
 static FREE clientStreamFree;
 
index 362c310aa46244e713c0ac92901aacf72287669f..24f63c861c8a46f9879590cc46227c754c7bd982 100644 (file)
@@ -44,7 +44,6 @@
 #include "StatCounters.h"
 #include "Store.h"
 
-
 static hash_table *client_table = NULL;
 
 static ClientInfo *clientdbAdd(const Ip::Address &addr);
index 0e6c8c75b035352f2e40a8b47889cf7d5677baf5..7ca0a4bc55d2cedc4d7394ce93afc247d9d1a75f 100644 (file)
@@ -182,7 +182,6 @@ static void clientListenerConnectionOpened(AnyP::PortCfg *s, const Ipc::FdNoteId
 
 /* our socket-related context */
 
-
 CBDATA_CLASS_INIT(ClientSocketContext);
 
 void *
@@ -239,7 +238,6 @@ static void connNoteUseOfBuffer(ConnStateData* conn, size_t byteCount);
 
 static ConnStateData *connStateCreate(const Comm::ConnectionPointer &client, AnyP::PortCfg *port);
 
-
 clientStreamNode *
 ClientSocketContext::getTail() const
 {
@@ -275,7 +273,6 @@ ConnStateData::readSomeData()
     comm_read(clientConnection, in.addressToReadInto(), getAvailableBufferLength(), reader);
 }
 
-
 void
 ClientSocketContext::removeFromConnectionList(ConnStateData * conn)
 {
@@ -1807,7 +1804,6 @@ ClientSocketContext::noteIoError(const int xerrno)
     }
 }
 
-
 void
 ClientSocketContext::doClose()
 {
@@ -2723,7 +2719,6 @@ clientProcessRequest(ConnStateData *conn, HttpParser *hp, ClientSocketContext *c
         goto finish;
     }
 
-
     if (!chunked && !clientIsContentLengthValid(request)) {
         clientStreamNode *node = context->getClientReplyContext();
         clientReplyContext *repContext = dynamic_cast<clientReplyContext *>(node->data.getRaw());
@@ -3534,7 +3529,6 @@ clientNegotiateSSL(int fd, void *data)
                " client certificate: issuer: " <<
                X509_NAME_oneline(X509_get_issuer_name(client_cert), 0, 0));
 
-
         X509_free(client_cert);
     } else {
         debugs(83, 5, "clientNegotiateSSL: FD " << fd <<
@@ -4287,7 +4281,6 @@ ConnStateData::stopReading()
     }
 }
 
-
 BodyPipe::Pointer
 ConnStateData::expectRequestBody(int64_t size)
 {
index 3ce723e1f09fa657c32de26d246fe7beb64cf9af..d66395d003389ada59cf91d2d194bcd0b84d5a60 100644 (file)
@@ -163,7 +163,6 @@ private:
     CBDATA_CLASS(ClientSocketContext);
 };
 
-
 class ConnectionDetail;
 #if USE_SSL
 namespace Ssl
index 64b9cd46d8a58981643ebdc993b26ff8d0fac1c1..d087b58b43556a70e4722eb848af93f7cd47f374 100644 (file)
@@ -307,7 +307,6 @@ clientReplyContext::processExpired()
     }
 }
 
-
 void
 clientReplyContext::sendClientUpstreamResponse()
 {
@@ -1106,7 +1105,6 @@ clientReplyContext::storeNotOKTransferDone() const
     }
 }
 
-
 /* A write has completed, what is the next status based on the
  * canonical request data?
  * 1 something is wrong
@@ -1526,7 +1524,6 @@ clientReplyContext::buildReplyHeader()
     httpHdrMangleList(hdr, request, ROR_REPLY);
 }
 
-
 void
 clientReplyContext::cloneReply()
 {
@@ -1685,7 +1682,6 @@ clientGetMoreData(clientStreamNode * aNode, ClientHttpRequest * http)
     assert (context);
     assert(context->http == http);
 
-
     clientStreamNode *next = ( clientStreamNode *)aNode->node.next->data;
 
     if (!context->ourNode)
@@ -1993,7 +1989,6 @@ clientReplyContext::processReplyAccessResult(const allow_t &accessAllowed)
 
         startError(err);
 
-
         return;
     }
 
@@ -2153,8 +2148,6 @@ clientReplyContext::sendMoreData (StoreIOBuffer result)
     return;
 }
 
-
-
 /* Using this breaks the client layering just a little!
  */
 void
index ffbc2e48f467ae175bd27b31e9c4d2cad69a4863..919d2dfbdf94731802f1d4d1663b7f8e25259620 100644 (file)
@@ -33,7 +33,6 @@
  *
  */
 
-
 /*
  * General logic of request processing:
  *
@@ -86,7 +85,6 @@
 #include "ssl/ServerBump.h"
 #endif
 
-
 #if LINGERING_CLOSE
 #define comm_close comm_lingering_close
 #endif
index c1bfd29a7aa8465780aba5af25b487500ef04218..68640d0c21d5278b445f1ac6202473c40a022713 100644 (file)
@@ -27,7 +27,6 @@
  *
  */
 
-
 #ifndef SQUID_CLIENTSIDEREQUEST_H
 #define SQUID_CLIENTSIDEREQUEST_H
 
index 34efd3c9e2e936cea8e8b7d8aede5915b3c7ab47..b2bbad35c3a6ccf84a1b688191e3993d846083f9 100644 (file)
@@ -212,7 +212,6 @@ comm_empty_os_read_buffers(int fd)
 #endif
 }
 
-
 /**
  * Return whether the FD has a pending completed callback.
  * NP: does not work.
@@ -322,7 +321,6 @@ comm_read_cancel(int fd, AsyncCall::Pointer &callback)
     Comm::SetSelect(fd, COMM_SELECT_READ, NULL, NULL, 0);
 }
 
-
 /**
  * synchronous wrapper around udp socket functions
  */
@@ -361,7 +359,6 @@ comm_udp_send(int s, const void *buf, size_t len, int flags)
     return send(s, buf, len, flags);
 }
 
-
 bool
 comm_has_incomplete_write(int fd)
 {
@@ -1157,7 +1154,6 @@ _comm_close(int fd, char const *file, int line)
 
     comm_empty_os_read_buffers(fd);
 
-
     AsyncCall::Pointer completeCall=commCbCall(5,4, "comm_close_complete",
                                     FdeCbPtrFun(comm_close_complete, NULL));
     FdeCbParams &completeParams = GetCommParams<FdeCbParams>(completeCall);
@@ -1235,7 +1231,6 @@ comm_add_close_handler(int fd, AsyncCall::Pointer &call)
     fd_table[fd].closeHandler = call;
 }
 
-
 // remove function-based close handler
 void
 comm_remove_close_handler(int fd, CLCB * handler, void *data)
@@ -1933,7 +1928,6 @@ commHalfClosedReader(const Comm::ConnectionPointer &conn, char *, size_t size, c
     commPlanHalfClosedCheck(); // make sure this fd will be checked again
 }
 
-
 CommRead::CommRead() : conn(NULL), buf(NULL), len(0), callback(NULL) {}
 
 CommRead::CommRead(const Comm::ConnectionPointer &c, char *buf_, int len_, AsyncCall::Pointer &callback_)
index 191e1232223ffbcfd39715510ccc9e5b67f2bbcc..32dab7a09fabba2d1aec4673ff157135a141448f 100644 (file)
@@ -71,14 +71,12 @@ SQUIDCEXTERN int ignoreErrno(int);
 SQUIDCEXTERN void commCloseAllSockets(void);
 SQUIDCEXTERN void checkTimeouts(void);
 
-
 //typedef void IOACB(int fd, int nfd, Comm::ConnectionPointer details, comm_err_t flag, int xerrno, void *data);
 extern void comm_add_close_handler(int fd, CLCB *, void *);
 extern void comm_add_close_handler(int fd, AsyncCall::Pointer &);
 extern void comm_remove_close_handler(int fd, CLCB *, void *);
 extern void comm_remove_close_handler(int fd, AsyncCall::Pointer &);
 
-
 extern int comm_has_pending_read_callback(int fd);
 extern bool comm_monitors_read(int fd);
 //extern void comm_read(const Comm::ConnectionPointer &conn, char *buf, int len, IOCB *handler, void *data);
index ba90476feca51ee3bc0ddcb226c2e23e7686c224..e9ba660c125cddd6dbf92621c66092ff5e31bcad 100644 (file)
@@ -100,7 +100,6 @@ static struct {
     int size; /**< maximum number of elements in array */
 } devpoll_update;
 
-
 /* STATIC VARIABLES */
 static int devpoll_fd; /**< handle to /dev/poll device */
 static int max_poll_time = 1000; /**< maximum milliseconds to spend in poll */
@@ -112,7 +111,6 @@ static int dpoll_nfds; /**< maximum number of poll results */
 /* PROTOTYPES */
 static void commDevPollRegisterWithCacheManager(void);
 
-
 /* PRIVATE FUNCTIONS */
 /** \brief Write batched file descriptor event changes to poll device
  *
@@ -174,7 +172,6 @@ comm_update_fd(int fd, int events)
     devpoll_update.pfds[devpoll_update.cur].revents = 0;
 }
 
-
 static void commIncomingStats(StoreEntry *sentry)
 {
     storeAppendPrintf(sentry, "Total number of devpoll loops: %ld\n", statCounter.select_loops);
@@ -182,7 +179,6 @@ static void commIncomingStats(StoreEntry *sentry)
     statCounter.select_fds_hist.dump(sentry, statHistIntDumper);
 }
 
-
 static void
 commDevPollRegisterWithCacheManager(void)
 {
@@ -195,7 +191,6 @@ commDevPollRegisterWithCacheManager(void)
     );
 }
 
-
 /* PUBLIC FUNCTIONS */
 
 /** \brief Initialise /dev/poll support
@@ -319,7 +314,6 @@ Comm::SetSelect(int fd, unsigned int type, PF * handler, void *client_data, time
         F->timeout = squid_curtime + timeout;
 }
 
-
 /** \brief Clear polling of file handle (both read and write)
  *
  * @param fd file descriptor to clear polling on
@@ -331,7 +325,6 @@ Comm::ResetSelect(int fd)
     SetSelect(fd, COMM_SELECT_READ, NULL, NULL, 0);
 }
 
-
 /** \brief Do poll and trigger callback functions as appropriate
  *
  * Check all connections for new connections and input data that is to be
index 08728f7fb0fb1dcff4fcb2380a5fce17236d0c1e..c0e7ea872568f79912b2785794f890311c134758 100644 (file)
@@ -81,11 +81,9 @@ static struct epoll_event *pevents;
 
 static void commEPollRegisterWithCacheManager(void);
 
-
 /* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
 /* Public functions */
 
-
 /*
  * This is a needed exported function which will be called to initialise
  * the network loop code.
@@ -216,7 +214,6 @@ Comm::ResetSelect(int fd)
     SetSelect(fd, 0, NULL, NULL, 0);
 }
 
-
 static void commIncomingStats(StoreEntry * sentry);
 
 static void
index 449c24f3c8f05d4a14d7bb2d854f2bfb8bd9d31d..f150d64e07a067899400fa6abde6dca6dac5c46f 100644 (file)
@@ -154,12 +154,9 @@ kq_update_events(int fd, short filter, PF * handler)
     }
 }
 
-
-
 /* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
 /* Public functions */
 
-
 /*
  * comm_select_init
  *
index 6a6cbf0af806a2e74206f5f1d1eb295765c21216..d2d39e262b96f39191668c3d440ea3447cb8c907 100644 (file)
@@ -143,7 +143,6 @@ static int incoming_tcp_interval = 16 << INCOMING_FACTOR;
 #define commCheckDnsIncoming (++dns_io_events > (incoming_dns_interval>> INCOMING_FACTOR))
 #define commCheckTcpIncoming (++tcp_io_events > (incoming_tcp_interval>> INCOMING_FACTOR))
 
-
 void
 Comm::SetSelect(int fd, unsigned int type, PF * handler, void *client_data, time_t timeout)
 {
@@ -592,7 +591,6 @@ Comm::DoSelect(int msec)
     return COMM_TIMEOUT;
 }
 
-
 static void
 comm_poll_dns_incoming(void)
 {
@@ -633,7 +631,6 @@ comm_poll_dns_incoming(void)
     statCounter.comm_dns_incoming.count(nevents);
 }
 
-
 static void
 commPollRegisterWithCacheManager(void)
 {
index 8a2c4a1781ca148a636be70fa5213055f2b2fa62..27ab585dff3b4821ec503796c6a980540dc433f1 100644 (file)
@@ -75,7 +75,6 @@ static void comm_select_dns_incoming(void);
 static void commUpdateReadBits(int fd, PF * handler);
 static void commUpdateWriteBits(int fd, PF * handler);
 
-
 static struct timeval zero_tv;
 static fd_set global_readfds;
 static fd_set global_writefds;
@@ -764,7 +763,6 @@ examine_select(fd_set * readfds, fd_set * writefds)
     return 0;
 }
 
-
 static void
 commIncomingStats(StoreEntry * sentry)
 {
index 18f8d3bfbdab2f57f6047b22fef4df7e6da32ab0..6a54b6a129279f22d3325ef0d80a971b5b6f343e 100644 (file)
@@ -70,7 +70,6 @@ static void comm_select_dns_incoming(void);
 static void commUpdateReadBits(int fd, PF * handler);
 static void commUpdateWriteBits(int fd, PF * handler);
 
-
 static struct timeval zero_tv;
 static fd_set global_readfds;
 static fd_set global_writefds;
@@ -779,7 +778,6 @@ examine_select(fd_set * readfds, fd_set * writefds)
     return 0;
 }
 
-
 static void
 commIncomingStats(StoreEntry * sentry)
 {
index 7b6a7b248f1cfa573a64c6f09be0e0d1ee17c00e..16c4eb127401adfd9dfee22693e36eaad6dbad7f 100644 (file)
@@ -34,5 +34,4 @@
 #ifndef SQUID_COMM_POLL_H
 #define SQUID_COMM_POLL_H
 
-
 #endif /* SQUID_COMM_POLL_H */
index 2f0186cd74d6e04285e2afaa54df95167493742a..02cb78215fe1036bdce20fcf2ae29390e4915f80 100644 (file)
@@ -660,7 +660,6 @@ static const char *Ctx_Descrs[CTX_MAX_LEVEL + 1];
 /* "safe" get secription */
 static const char *ctx_get_descr(Ctx ctx);
 
-
 Ctx
 ctx_enter(const char *descr)
 {
index 08169d24ac7dd99fd14def531b9667ef0ad94d22..1f05e4dd49fb89b17a7ac971ddb8890b0c25f373 100644 (file)
@@ -555,7 +555,6 @@ DelayPools::Init()
     RegisterWithCacheManager();
 }
 
-
 void
 DelayPools::InitDelayData()
 {
@@ -893,7 +892,6 @@ ClassCNetPool::makeKey(Ip::Address &src_addr) const
     return ( (ntohl(net.s_addr) >> 8) & 0xff);
 }
 
-
 ClassCHostPool::ClassCHostPool()
 {
     DelayPools::registerForUpdates (this);
index 83644791f13039828fac6f87b952e69d46cd7cd5..90f7df2cac18bde12d211ffde12cd558c3eac507 100644 (file)
@@ -100,7 +100,6 @@ file_open(const char *path, int mode)
     return fd;
 }
 
-
 /* close a disk file. */
 void
 file_close(int fd)
@@ -309,7 +308,6 @@ diskHandleWrite(int fd, void *notused)
                    q << "," << (int) q->buf_offset << ", " << q->len << ", " <<
                    len << " FD " << fd << ")");
 
-
         assert(q->buf_offset <= q->len);
 
         if (q->buf_offset == q->len) {
@@ -361,7 +359,6 @@ diskHandleWrite(int fd, void *notused)
     PROF_stop(diskHandleWrite);
 }
 
-
 /* write block to a file */
 /* write back queue. Only one writer at a time. */
 /* call a handle when writing is complete. */
@@ -487,7 +484,6 @@ diskHandleRead(int fd, void *data)
     PROF_stop(diskHandleRead);
 }
 
-
 /* start read operation */
 /* buffer must be allocated from the caller.
  * It must have at least req_len space in there.
index 4ec5c29966f25b3c88bc0a1d9d24743fd72f1201..c2712bbc4250ef31e59bf087d90c870413c42300 100644 (file)
@@ -7,7 +7,6 @@
 /* dlink are Mem-pooled */
 #include "MemPool.h"
 
-
 dlink_list ClientActiveRequests;
 
 MemAllocator *dlink_node_pool = NULL;
index 5d671890efcaf951531ab1e74d39b6499a56442c..c19826375afda53423d8d9d09c72322ef99a35f5 100644 (file)
@@ -335,7 +335,6 @@ idnsAddPathComponent(const char *buf)
     ++npc;
 }
 
-
 static void
 idnsFreeNameservers(void)
 {
@@ -350,8 +349,6 @@ idnsFreeSearchpath(void)
     npc = npc_alloc = 0;
 }
 
-
-
 static void
 idnsParseNameservers(void)
 {
index 08fba75e66ef1759725a6d94e029250772755e43..17630da24fbfdeec777ae5c347760d3b93b7f341 100644 (file)
@@ -445,7 +445,6 @@ squid_res_setservers(int reset)
 #endif /* HAVE_RES_INIT */
 }
 
-
 /**
  * \ingroup dnsserver
  *
index fc6639641f64591b62fcba46fb73a4b7a4c6414c..bddfda4076c06aa5f51d6452814f1a82e2740b9e 100644 (file)
@@ -112,7 +112,6 @@ typedef enum {
     SC_ENUM_END
 } http_hdr_sc_type;
 
-
 typedef enum _mem_status_t {
     NOT_IN_MEMORY,
     IN_MEMORY
@@ -249,7 +248,6 @@ typedef enum {
     psError
 } HttpMsgParseState;
 
-
 enum {
     PCTILE_HTTP,
     PCTILE_ICP_QUERY,
@@ -304,7 +302,6 @@ enum {
     ROR_REPLY
 };
 
-
 /* CygWin & Windows NT Port */
 #if _SQUID_WINDOWS_
 /*
index e37e51063fa802b160b517111de546a149f32e46..3b618899de808c264844ff6b66fffa76a988fcf3 100644 (file)
@@ -66,7 +66,6 @@
  *   Config.errorDirectory)
  */
 
-
 #if !defined(DEFAULT_SQUID_ERROR_DIR)
 /** Where to look for errors if config path fails.
  \note Please use ./configure --datadir=/path instead of patching
index d73a1fb79ffa10c264631a34b9e4f57ff005f062..75ca7eda713a8f1fb2d861875a3755a44b5889df 100644 (file)
@@ -62,5 +62,4 @@ private:
     ElementList &operator=(ElementList const&);
 };
 
-
 #endif /* SQUID_ELEMENTLIST_H */
index d00c8e165e9f6da3ca8ada67992cab75f2e39064..9387561fceca26150f860d5d20ce1be21eac299b 100644 (file)
@@ -101,7 +101,6 @@ bool operator == (ESIElement const *lhs, ESIElement::Pointer const &rhs)
 
 typedef ESIContext::esiKick_t esiKick_t;
 
-
 /* some core operators */
 
 /* esiComment */
@@ -146,7 +145,6 @@ CBDATA_TYPE (esiRemove);
 static FREE esiRemoveFree;
 static ESIElement * esiRemoveNew(void);
 
-
 /* esiTry */
 
 struct esiTry : public ESIElement {
@@ -270,7 +268,6 @@ bool ESIContext::reading() const
     return reading_;
 }
 
-
 ESIStreamContext::ESIStreamContext() : finished(false), include (NULL), localbuffer (new ESISegment), buffer (NULL)
 {}
 
@@ -278,7 +275,6 @@ ESIStreamContext::ESIStreamContext() : finished(false), include (NULL), localbuf
 /* ESIContext */
 static ESIContext *ESIContextNew(HttpReply *, clientStreamNode *, ClientHttpRequest *);
 
-
 void *
 ESIContext::operator new(size_t byteCount)
 {
@@ -486,7 +482,6 @@ esiStreamRead (clientStreamNode *thisNode, ClientHttpRequest *http)
         return;
     }
 
-
     if (context->flags.oktosend && context->flags.finished) {
         StoreIOBuffer tempBuffer;
         assert (!context->outbound.getRaw());
@@ -680,7 +675,6 @@ ESIContext::send ()
     if (len == 0)
         len = 1; /* tell the caller we sent something (because we sent headers */
 
-
     cbdataReferenceDone (templock);
 
     debugs (86,5,"ESIContext::send: this=" << this << " sent " << len);
@@ -1455,7 +1449,6 @@ ESIContext::freeResources ()
 
 extern ErrorState *clientBuildError (err_type, http_status, char const *, Ip::Address &, HttpRequest *);
 
-
 /* This can ONLY be used before we have sent *any* data to the client */
 void
 ESIContext::fail ()
@@ -2217,7 +2210,6 @@ esiChoose::provideData (ESISegment::Pointer data, ESIElement*source)
     parent->provideData (data, this);
 }
 
-
 esiChoose::esiChoose(esiChoose const &old) : chosenelement(-1), otherwise (NULL), parent (NULL)
 {
     for (size_t counter = 0; counter < old.elements.size(); ++counter) {
index 5d3968a1be74363b5fa5cc69b51194a44cbe355f..60162975a6b8555c0ed0ea00373559af0d90f5ff 100644 (file)
@@ -274,7 +274,6 @@ evalexpr(stackmember * stack, int *depth, int whereAmI, stackmember * candidate)
     return 1;
 }
 
-
 int
 evalor(stackmember * stack, int *depth, int whereAmI, stackmember * candidate)
 {
@@ -423,7 +422,6 @@ evallesseq(stackmember * stack, int *depth, int whereAmI, stackmember * candidat
     /*  debugs(86, DBG_IMPORTANT, "?= " << srv.value.integral << " "); */
     return 0;
 
-
 }
 
 int
@@ -472,7 +470,6 @@ evallessthan(stackmember * stack, int *depth, int whereAmI, stackmember * candid
     /* debugs(86, DBG_IMPORTANT, "?= " << srv.value.integral << " "); */
     return 0;
 
-
 }
 
 int
@@ -521,7 +518,6 @@ evalmoreeq(stackmember * stack, int *depth, int whereAmI, stackmember * candidat
     /* debugs(86, DBG_IMPORTANT, "?= " << srv.value.integral << " "); */
     return 0;
 
-
 }
 
 int
index 523b5420bd78475f143669766a84eb85aad95e57..5a61b1259d05880733738304f43356a07aa573a0 100644 (file)
@@ -161,7 +161,6 @@ esiBufferRecipient (clientStreamNode *node, ClientHttpRequest *http, HttpReply *
         return;
     }
 
-
     /* after the write to the user occurs, (ie here, or in a callback)
      * we call */
     if (clientHttpRequestStatus(-1, http)) {
@@ -261,8 +260,6 @@ ESIStreamContextNew (ESIIncludePtr include)
     return rv;
 }
 
-
-
 /* ESIInclude */
 ESIInclude::~ESIInclude()
 {
@@ -322,7 +319,6 @@ ESIInclude::prepareRequestHeaders(HttpHeader &tempheaders, ESIVarState *vars)
     tempheaders.removeHopByHopEntries();
 }
 
-
 void
 ESIInclude::Start (ESIStreamContext::Pointer stream, char const *url, ESIVarState *vars)
 {
index 4bf6c28609dcc355f072028eb7a64feac5ae241d..c717700268a1bacf9cf6e6db0bfc5294f7da1bb0 100644 (file)
@@ -42,7 +42,6 @@ public:
     virtual ~ESIParserClient() {};
 };
 
-
 /* for RefCountable */
 #include "RefCount.h"
 
index ef1648db093564e77b1ad1b6c868e38690d0df13..7ec2262cd268f55c6ea5c0010ba53f1e9faf6141 100644 (file)
@@ -60,7 +60,6 @@ public:
     void adsorbList (ESISegment::Pointer from);
     size_t space() const;
 
-
     char buf[HTTP_REQBUF_SZ];
     size_t len; /* how much data has been pushed into this */
     Pointer next;
index 707d4f7701874181d960483b0661fdbfdcca9010..211a9a471118b1c0eb7c9820c1e14d12d24f74c3 100644 (file)
@@ -120,7 +120,6 @@ esiSequence::finish()
     parent = NULL;
 }
 
-
 void
 esiSequence::provideData (ESISegment::Pointer data, ESIElement *source)
 {
@@ -130,7 +129,6 @@ esiSequence::provideData (ESISegment::Pointer data, ESIElement *source)
         debugs(86, 5, "esiSequence::provideData: " << this << " data provided during processing");
     debugs(86, 5, "esiSequence::provideData " << this << " " << data.getRaw() << " " << source);
 
-
     /* when data is provided, the element *must* be completed */
     /* XXX: when the callback model is complete,
      * we can introduce 'finished'. And then this rule can be
index 4b29ef5321219626d89b519c99a2c092913b2f78..c268b14fced099586985c7f728cdd9002e6e9b0c 100644 (file)
@@ -54,7 +54,6 @@ char const * esiBrowsers[]= {"MSIE",
                              "OTHER"
                             };
 
-
 void
 ESIVarState::Variable::eval (ESIVarState &state, char const *subref, char const *found_default) const
 {
@@ -857,7 +856,6 @@ ESIVariableProcessor::~ESIVariableProcessor()
     delete currentFunction;
 }
 
-
 /* XXX FIXME: this should be comma delimited, no? */
 void
 ESIVarState::buildVary (HttpReply *rep)
index ec66d45342882f581c9843df5b95222f4c55c8b4..128c023efc849b01120721a1be71af4719ff2f5f 100644 (file)
@@ -192,6 +192,4 @@ private:
     char *browserversion;
 };
 
-
-
 #endif /* SQUID_ESIVARSTATE_H */
index d03050a2ac8a46ec8fea8b0b1f195bbc6c6116dd..a5764cbcde1d0c919055987d61b9cb2aaa09a76b 100644 (file)
@@ -43,7 +43,6 @@
 
 /* The list of event processes */
 
-
 static OBJH eventDump;
 static const char *last_event_ran = NULL;
 
@@ -111,7 +110,6 @@ EventDialer::print(std::ostream &os) const
     os << ')';
 }
 
-
 ev_entry::ev_entry(char const * aName, EVH * aFunction, void * aArgument, double evWhen,
                    int aWeight, bool haveArgument) : name(aName), func(aFunction),
         arg(haveArgument ? cbdataReference(aArgument) : aArgument), when(evWhen), weight(aWeight),
index 6eef5a2216c968c557d27869b76b6af79b984fba..85019696c41bd6f1cf167686cca8a7aad7854927 100644 (file)
@@ -666,7 +666,6 @@ external_acl::trimCache()
         external_acl_cache_delete(this, static_cast<external_acl_entry *>(lru_list.tail->data));
 }
 
-
 /******************************************************************
  * external acl type
  */
index 29a9164ab407d484bd4ef30f319de51ebae7bbf2..f1a07db90fda26aa7a00fff8ae12fe04ecb7f027 100644 (file)
--- a/src/fd.cc
+++ b/src/fd.cc
@@ -41,7 +41,6 @@
 #include "profiler/Profiler.h"
 #include "SquidTime.h"
 
-
 // Solaris and possibly others lack MSG_NOSIGNAL optimization
 // TODO: move this into compat/? Use a dedicated compat file to avoid dragging
 // sys/types.h and sys/socket.h into the rest of Squid??
index efb187397be0b38ea835edfcf26ca1b6d60f5817..4e47cc353ec0f65e7a82e936be1ef49a36928640 100644 (file)
@@ -18,7 +18,6 @@
 #include "ssl/ErrorDetail.h"
 #endif
 
-
 /// Convert a string to NULL pointer if it is ""
 #define strOrNull(s) ((s)==NULL||(s)[0]=='\0'?NULL:(s))
 
@@ -441,7 +440,6 @@ Format::Format::assemble(MemBuf &mb, const AccessLogEntry::Pointer &al, int logS
             doint = 1;
             break;
 
-
         case LFT_TIME_LOCALTIME:
 
         case LFT_TIME_GMT: {
index fd264285ceb9e5e542810c566db9bae693e6dd7a..c0ec60f4523197cd3e4b348ef75e39855ef9895f 100644 (file)
@@ -30,7 +30,6 @@
  *
  */
 
-
 #include "squid.h"
 #include "AccessLogEntry.h"
 #include "acl/FilledChecklist.h"
@@ -457,7 +456,6 @@ FwdState::complete()
     }
 }
 
-
 /**** CALLBACK WRAPPERS ************************************************************/
 
 static void
@@ -1273,7 +1271,6 @@ fwdStats(StoreEntry * s)
     }
 }
 
-
 /**** STATIC MEMBER FUNCTIONS *************************************************/
 
 bool
index 32bd039d7f32747f089f9c52859a7e9c55752b11..1f8e3e09ae33301d35a2f9c4f85f6891e1921283 100644 (file)
@@ -15,7 +15,6 @@ typedef RefCount<AccessLogEntry> AccessLogEntryPointer;
 class ErrorState;
 class HttpRequest;
 
-
 /**
  * Returns the TOS value that we should be setting on the connection
  * to the server, based on the ACL.
@@ -28,7 +27,6 @@ tos_t GetTosToServer(HttpRequest * request);
  */
 nfmark_t GetNfmarkToServer(HttpRequest * request);
 
-
 class FwdState : public RefCountable
 {
 public:
index 42e80aca19339926b5f09d437459a0e19e095615..771160e7ccd6bc688a44f88bb1614b0adfb5fed0 100644 (file)
@@ -165,7 +165,6 @@ fqdncache_entry::age() const
     return request_time.tv_sec ? tvSubMsec(request_time, current_time) : -1;
 }
 
-
 /**
  \ingroup FQDNCacheInternal
  * Removes the given fqdncache entry
@@ -488,7 +487,6 @@ fqdncacheParse(fqdncache_entry *f, const rfc1035_rr * answers, int nr, const cha
 
 #endif
 
-
 /**
  \ingroup FQDNCacheAPI
  *
@@ -686,7 +684,6 @@ fqdncache_gethostbyaddr(const Ip::Address &addr, int flags)
     return NULL;
 }
 
-
 /**
  \ingroup FQDNCacheInternal
  *
@@ -873,7 +870,6 @@ fqdncacheAddEntryFromHosts(char *addr, wordlist * hostnames)
     fqdncacheLockEntry(fce);
 }
 
-
 #if SQUID_SNMP
 /**
  *  \ingroup FQDNCacheAPI
index 4668e6751f9c17c0e3b6240a60f85eac073547f3..86191b267a23ec71e9fd8c8a8562770ed11d6b16 100644 (file)
@@ -17,7 +17,6 @@ static Fs::Ufs::StoreFSufs<Fs::Ufs::UFSSwapDir> *UfsInstance;
 static Fs::Ufs::StoreFSufs<Fs::Ufs::UFSSwapDir> *AufsInstance;
 #endif
 
-
 #if HAVE_FS_DISKD
 static Fs::Ufs::StoreFSufs<Fs::Ufs::UFSSwapDir> *DiskdInstance;
 #endif
@@ -27,7 +26,6 @@ static Fs::Ufs::StoreFSufs<Fs::Ufs::UFSSwapDir> *DiskdInstance;
 static Rock::StoreFileSystem *RockInstance = NULL;
 #endif
 
-
 /* TODO: Modify coss code to:
  * (a) remove the StoreFScoss::GetInstance method,
  * (b) declare the StoreFScoss::stats  as static and
@@ -37,7 +35,6 @@ static Rock::StoreFileSystem *RockInstance = NULL;
 StoreFScoss &CossInstance = StoreFScoss::GetInstance();
 #endif
 
-
 void Fs::Init()
 {
 
@@ -49,7 +46,6 @@ void Fs::Init()
     AufsInstance = new Fs::Ufs::StoreFSufs<Fs::Ufs::UFSSwapDir>("DiskThreads", "aufs");;
 #endif
 
-
 #if HAVE_FS_DISKD
     DiskdInstance = new Fs::Ufs::StoreFSufs<Fs::Ufs::UFSSwapDir>("DiskDaemon", "diskd");;
 #endif
@@ -60,7 +56,6 @@ void Fs::Init()
 
 }
 
-
 void Fs::Clean()
 {
 #if HAVE_FS_UFS
@@ -71,7 +66,6 @@ void Fs::Clean()
     delete AufsInstance;
 #endif
 
-
 #if HAVE_FS_DISKD
     delete DiskdInstance;
 #endif
index 642b27ce4c52c06b76670e756d08e33fa956646a..7f399f62fe97daabebee06846bc8debc083f025a 100644 (file)
@@ -12,7 +12,6 @@ class DiskFile;
 #include "SwapDir.h"
 #include "DiskIO/IORequestor.h"
 
-
 #ifndef COSS_MEMBUF_SZ
 #define        COSS_MEMBUF_SZ  1048576
 #endif
@@ -23,7 +22,6 @@ class DiskFile;
 #define COSS_ALLOC_ALLOCATE            1
 #define COSS_ALLOC_REALLOC             2
 
-
 /// \ingroup COSS
 class CossSwapDir : public SwapDir, public IORequestor
 {
@@ -113,7 +111,6 @@ extern void storeCossRemove(CossSwapDir *, StoreEntry *);
 /// \ingroup COSS
 extern void storeCossStartMembuf(CossSwapDir * SD);
 
-
 #include "StoreSearch.h"
 
 /// \ingroup COSS
index c1f20e1a0d3369cbab97b2942af97eb3b7caa74b..ad12d88170d5d52a68fcb229b0bd301fe4c3462a 100644 (file)
@@ -66,7 +66,6 @@ public:
     open, create, close, unlink, read, write, stripe_write;
 };
 
-
 class CacheManager;
 
 #include "StoreFileSystem.h"
index b37edaddec19f43496682432d6fc7ba7a712f6ab..3d0b1aa657d6e4c292cda562f0c0106f32a7b96f 100644 (file)
@@ -50,8 +50,6 @@ struct _cossindex {
     dlink_node node;
 };
 
-
-
 /**
  \ingroup COSS
  * Per-storeiostate info
@@ -91,7 +89,6 @@ MEMPROXY_CLASS_INLINE(CossState);
 /// \ingroup COSS
 typedef struct _cossindex CossIndexNode;
 
-
 /**
  \ingroup COSS
  * Whether the coss system has been setup or not
index 5a83b4449f92ae67e7e20180491df35e246715c6..6d57ddad2d2e8ec4d867c6c30465d6b066d50886 100644 (file)
@@ -218,7 +218,6 @@ CossSwapDir::writeCompleted(int errflag, size_t len, RefCount<WriteRequest> writ
 
     debugs(79, 3, "storeCossWriteMemBufDone: buf " << cossWrite->membuf << ", len " << len);
 
-
     if (errflag) {
         ++ StoreFScoss::GetInstance().stats.stripe_write.fail;
         debugs(79, DBG_IMPORTANT, "storeCossWriteMemBufDone: got failure (" << errflag << ")");
@@ -227,7 +226,6 @@ CossSwapDir::writeCompleted(int errflag, size_t len, RefCount<WriteRequest> writ
         ++ StoreFScoss::GetInstance().stats.stripe_write.success;
     }
 
-
     dlinkDelete(&cossWrite->membuf->node, &membufs);
     cbdataFree(cossWrite->membuf);
     -- StoreFScoss::GetInstance().stats.stripes;
@@ -306,7 +304,6 @@ CossSwapDir::getOptionTree() const
                                              &CossSwapDir::optionBlockSizeParse,
                                              &CossSwapDir::optionBlockSizeDump));
 
-
     ConfigOption *ioOptions = NULL;
 
     if (io)
@@ -1037,7 +1034,6 @@ CossSwapDir::parse(int anIndex, char *aPath)
     }
 }
 
-
 void
 CossSwapDir::reconfigure()
 {
index 1ad50d13f1215373bf64fe1353e90bae94d586ef..6a1bf7241c37a6e25fa1c6930874e2d0384ec622 100644 (file)
@@ -50,7 +50,6 @@ CBDATA_TYPE(CossMemBuf);
 CossState::CossState(CossSwapDir *aCSD):SD (aCSD)
 {}
 
-
 /*
  * This routine sucks. I want to rewrite it when possible, and I also think
  * that we should check after creatmembuf() to see if the object has a
index 0fd0e8b7c86f6206b22b200be088a4693d9dd9ae..15e57601d899a47f14ad369eb80f3c33db9ecb32 100644 (file)
@@ -21,7 +21,6 @@ private:
     CBDATA_CLASS2(ReadRequest);
 };
 
-
 /// \ingroup Rock
 class WriteRequest: public ::WriteRequest
 {
@@ -33,7 +32,6 @@ private:
     CBDATA_CLASS2(WriteRequest);
 };
 
-
 } // namespace Rock
 
 #endif /* SQUID_FS_ROCK_IO_REQUESTS_H */
index 1cabf795265b13a98149f485c8113f32dca2a4fa..32a2f122487eb17896822bab6ad6ee9cf3104de5 100644 (file)
@@ -194,7 +194,6 @@ private:
     Rock::IoState::Pointer sio;
 };
 
-
 void
 Rock::IoState::callBack(int errflag)
 {
index 05960a0876add45600247974f765ba2c18acd76c..f27f66bdb120352afc5862d9d1e2d1cfd834c329 100644 (file)
@@ -8,7 +8,6 @@
 #include "fs/rock/RockStoreFileSystem.h"
 #include "fs/rock/RockSwapDir.h"
 
-
 Rock::StoreFileSystem::StoreFileSystem()
 {
     FsAdd(*this);
index 667ba1724b4b512746870497da1e27c4812a928f..9e45a0b01e5cc004a4aa432e71acedd31611637d 100644 (file)
@@ -464,7 +464,6 @@ Rock::SwapDir::addEntry(const int filen, const DbCellHeader &header, const Store
     return false;
 }
 
-
 bool
 Rock::SwapDir::canStore(const StoreEntry &e, int64_t diskSpaceNeeded, int &load) const
 {
@@ -779,7 +778,6 @@ Rock::SwapDir::trackReferences(StoreEntry &e)
         repl->Add(repl, &e, &e.repl);
 }
 
-
 void
 Rock::SwapDir::ignoreReferences(StoreEntry &e)
 {
@@ -828,7 +826,6 @@ Rock::SwapDir::statfs(StoreEntry &e) const
 
 }
 
-
 namespace Rock
 {
 RunnerRegistrationEntry(rrAfterConfig, SwapDirRr);
index f427c57fff42e8a4765a2c3c9f6ee9fab57d86c7..793b5bea6b86ba3cce20cadaaacfd9c3e0177a55 100644 (file)
@@ -112,7 +112,6 @@ private:
     Vector<SwapDir::DirMap::Owner *> owners;
 };
 
-
 } // namespace Rock
 
 #endif /* SQUID_FS_ROCK_SWAP_DIR_H */
index aea10bab61c6759254e14f1db51cccd23a5df9b6..9a7d7c5760159e98124958870020462bc5229b08 100644 (file)
@@ -95,7 +95,6 @@ private:
     void *cbdata;
 };
 
-
 } /* namespace Ufs */
 } /* namespace Fs */
 
index c0e0b77e62d08524b81641f3e3a828a7e87295f4..8f15b363defd25a1c9a30d98f746e8b991050776 100644 (file)
@@ -45,7 +45,6 @@
 #include "UFSStrategy.h"
 #include "UFSStoreState.h"
 
-
 CBDATA_NAMESPACED_CLASS_INIT(Fs::Ufs,UFSStoreState);
 
 void *
@@ -185,7 +184,6 @@ Fs::Ufs::UFSStoreState::read_(char *buf, size_t size, off_t aOffset, STRCB * aCa
     theFile->read(new ReadRequest(buf,aOffset,size));
 }
 
-
 /*
  * DPW 2006-05-24
  * This, the public write interface, places the write request at the end
@@ -211,7 +209,6 @@ Fs::Ufs::UFSStoreState::write(char const *buf, size_t size, off_t aOffset, FREE
     drainWriteQueue();
 }
 
-
 /*
  * DPW 2006-05-24
  * This, the private write method, calls the lower level write for the
index a1c2fff98d92740de9b8044466452cee62864168..14f95378e13aecec66c9c87d478c549dbdbfb07e 100644 (file)
@@ -950,7 +950,6 @@ Fs::Ufs::UFSSwapDir::writeCleanStart()
 
 #endif
 
-
     cleanLog = state;
     return 0;
 }
@@ -1175,7 +1174,6 @@ Fs::Ufs::UFSSwapDir::replacementAdd(StoreEntry * e)
     repl->Add(repl, e, &e->repl);
 }
 
-
 void
 Fs::Ufs::UFSSwapDir::replacementRemove(StoreEntry * e)
 {
index 7698a9f60f94954826bfeded9de26e75193f37e7..46d1aa67e7f175c5d7d2f31d5d36bfe1cb561272 100644 (file)
@@ -1951,7 +1951,6 @@ FtpStateData::loginFailed()
     if (reply)
         err->ftp.reply = xstrdup(reply);
 
-
     HttpReply *newrep = err->BuildHttpReply();
     delete err;
 
@@ -3296,7 +3295,6 @@ FtpStateData::completedListing()
     entry->unlock();
 }
 
-
 /// \ingroup ServerProtocolFTPInternal
 static void
 ftpReadTransferDone(FtpStateData * ftpState)
index 44ad3edfdfa6687fa99f95e2a14f30c649f33b26..6720f7a668f570dc5f64b46eecc1bd0d0d06fcf4 100644 (file)
@@ -44,7 +44,6 @@
 /* for iostats */
 #include "structs.h"
 
-
 extern char *ConfigFile;       /* NULL */
 extern char *IcpOpcodeStr[];
 extern char tmp_error_buf[ERROR_BUF_SZ];
index 648268b868cd35b561c6e511c6096b54b28e9f72..1888949064a392916802744cb8bacad98e9fd218 100644 (file)
@@ -637,7 +637,6 @@ gopherToHTML(GopherStateData * gopherState, char *inbuf, int len)
             break;
         }                      /* HTML_DIR, HTML_INDEX_RESULT */
 
-
         case gopher_ds::HTML_CSO_RESULT: {
             if (line[0] == '-') {
                 int code, recno;
@@ -697,7 +696,6 @@ gopherToHTML(GopherStateData * gopherState, char *inbuf, int len)
                     break;
                 }
 
-
                 }
             }
 
index 0754333106261e4c6ab44ee28186d3441e9443c6..27b641325017ada456c53ed72e99fc4ac37667c2 100644 (file)
@@ -48,7 +48,6 @@
 
 #define HELPER_MAX_ARGS 64
 
-
 /** Initial Squid input buffer size. Helper responses may exceed this, and
  * Squid will grow the input buffer as needed, up to ReadBufMaxSize.
  */
@@ -80,7 +79,6 @@ static void helperStatefulRequestFree(helper_stateful_request * r);
 static void StatefulEnqueue(statefulhelper * hlp, helper_stateful_request * r);
 static bool helperStartStats(StoreEntry *sentry, void *hlp, const char *label);
 
-
 CBDATA_CLASS_INIT(helper);
 CBDATA_TYPE(helper_server);
 CBDATA_CLASS_INIT(statefulhelper);
@@ -386,7 +384,6 @@ helperStatefulOpenServers(statefulhelper * hlp)
     helperStatefulKickQueue(hlp);
 }
 
-
 void
 helperSubmit(helper * hlp, const char *buf, HLPCB * callback, void *data)
 {
@@ -969,7 +966,6 @@ helperStatefulHandleRead(const Comm::ConnectionPointer &conn, char *buf, size_t
     debugs(84, 5, "helperStatefulHandleRead: " << len << " bytes from " <<
            hlp->id_name << " #" << srv->index + 1);
 
-
     if (flag != COMM_OK || len == 0) {
         srv->closePipesSafely();
         return;
@@ -1228,7 +1224,6 @@ StatefulGetFirstAvailable(statefulhelper * hlp)
     return NULL;
 }
 
-
 static void
 helperDispatchWriteDone(const Comm::ConnectionPointer &conn, char *buf, size_t len, comm_err_t flag, int xerrno, void *data)
 {
@@ -1311,7 +1306,6 @@ helperStatefulDispatchWriteDone(const Comm::ConnectionPointer &conn, char *buf,
     /* nothing! */
 }
 
-
 static void
 helperStatefulDispatch(helper_stateful_server * srv, helper_stateful_request * r)
 {
@@ -1357,7 +1351,6 @@ helperStatefulDispatch(helper_stateful_server * srv, helper_stateful_request * r
     ++ hlp->stats.requests;
 }
 
-
 static void
 helperKickQueue(helper * hlp)
 {
index d1a5fc271698dd44414891fef7efef350f876415..5da5c3b752e549694dbf73f7bce27a631d582b93 100644 (file)
@@ -213,5 +213,4 @@ SQUIDCEXTERN void helperStatefulShutdown(statefulhelper * hlp);
 SQUIDCEXTERN void helperStatefulReleaseServer(helper_stateful_server * srv);
 SQUIDCEXTERN void *helperStatefulServerGetData(helper_stateful_server * srv);
 
-
 #endif /* SQUID_HELPER_H */
index 74c9639af04095f13de00d523536466933eecf1d..8150bcbd454b5840247d30af79aa74f435f33b91 100644 (file)
@@ -248,7 +248,6 @@ static MemAllocator *htcpDetailPool = NULL;
 
 static int old_squid_format = 0;
 
-
 static ssize_t htcpBuildPacket(char *buf, size_t buflen, htcpStuff * stuff);
 static htcpSpecifier *htcpUnpackSpecifier(char *buf, int sz);
 static htcpDetail *htcpUnpackDetail(char *buf, int sz);
index 412a8a9727d77aa9d0cca8cc97ceec00ce9641af..73c4c08d22f68c7f25a6efc8549e622318339c8b 100644 (file)
@@ -784,7 +784,6 @@ HttpStateData::proceedAfter1xx()
     CallJobHere(11, 3, this, HttpStateData, HttpStateData::processReply);
 }
 
-
 /**
  * returns true if the peer can support connection pinning
 */
@@ -1381,7 +1380,6 @@ HttpStateData::processReplyBody()
             if (request->flags.spoof_client_ip)
                 client_addr = request->client_addr;
 
-
             if (request->flags.pinned) {
                 ispinned = true;
             } else if (request->flags.connection_auth && request->flags.auth_sent) {
@@ -1829,7 +1827,6 @@ copyOneHeaderFromClientsideRequestToUpstreamRequest(const HttpHeaderEntry *e, co
     case HDR_TRANSFER_ENCODING:   /** \par Transfer-Encoding: */
         break;
 
-
         /** \par OTHER headers I haven't bothered to track down yet. */
 
     case HDR_AUTHORIZATION:
index 90c66885d1e0bd21549fb207bdcd83d5d6dec24f..c95eb24c66a8ff8cdd391f8d19e206925131320d 100644 (file)
@@ -70,7 +70,6 @@ SQUIDCEXTERN int icmp_pkts_sent;
 
 #endif /* USE_ICMP */
 
-
 /**
  * Implements the squid interface to access ICMP operations
  *
index 60ea6eb1a58c9f1d2c563189fb58522e1e28c69f..a8642bb8127a0626c590937d5cbb640a425f5641 100644 (file)
@@ -77,7 +77,6 @@
 #define ip_dst daddr
 #endif
 
-
 /* Native Windows port doesn't have netinet support, so we emulate it.
    At this time, Cygwin lacks icmp support in its include files, so we need
    to use the native Windows port definitions.
index 80324072d872f127e6bd6af10d567749dfa02fc8..f80cc70dd651f98e9d0569f9bcd2f77f7eb67642 100644 (file)
@@ -164,7 +164,6 @@ Icmp6::SendEcho(Ip::Address &to, int opcode, const char *payload, int len)
 
     icmp6_pktsize = sizeof(struct icmp6_hdr);
 
-
     // Fill Icmp6 ECHO data content
     echo = (icmpEchoData *) (pkt + sizeof(icmp6_hdr));
     echo->opcode = (unsigned char) opcode;
@@ -268,7 +267,6 @@ Icmp6::Recv(void)
     #define ip6_hlim   // MAX hops  (always 64, but no guarantee)
     #define ip6_hops   // HOPS!!!  (can it be true??)
 
-
         ip = (struct ip6_hdr *) pkt;
         pkt += sizeof(ip6_hdr);
 
index 7a8b43dca4b4b7782079a50f303228a34e05ecf2..82a1599c2b8f5c6ce78e6d31b3f4e58088088ae9 100644 (file)
@@ -61,7 +61,6 @@ static pid_t pid;
 
 #endif /* USE_ICMP */
 
-
 IcmpSquid::IcmpSquid() : Icmp()
 {
     ; // nothing new.
@@ -72,7 +71,6 @@ IcmpSquid::~IcmpSquid()
     Close();
 }
 
-
 #if USE_ICMP
 
 void
index 80b94799fd78b5c723324cfedd5694d0deecc7b5..cffe9b7c1c70fb8ed2f68ca04bd47a15cfa4b311 100644 (file)
@@ -676,7 +676,6 @@ netdbFreeNameEntry(void *data)
     memFree(x, MEM_NET_DB_NAME);
 }
 
-
 static void
 netdbExchangeHandleReply(void *data, StoreIOBuffer receivedData)
 {
@@ -893,7 +892,6 @@ netdbRegisterWithCacheManager(void)
 
 #endif /* USE_ICMP */
 
-
 /* PUBLIC FUNCTIONS */
 
 void
@@ -983,7 +981,6 @@ netdbFreeMemory(void)
 #endif
 }
 
-
 #if 0 // AYJ: Looks to be unused code.
 int
 netdbHops(Ip::Address &addr)
@@ -1211,7 +1208,6 @@ netdbDeleteAddrNetwork(Ip::Address &addr)
 #endif
 }
 
-
 void
 netdbBinaryExchange(StoreEntry * s)
 {
index 616cdbcf55178da719d8604ca6597225dbb22f13..8282ad4d4f9e48360627f1c228a07fe8211da85b 100644 (file)
@@ -12,7 +12,6 @@ class HttpRequest;
 /* for struct peer */
 #include "structs.h"
 
-
 SQUIDCEXTERN void netdbInit(void);
 
 SQUIDCEXTERN void netdbHandlePingReply(const Ip::Address &from, int hops, int rtt);
index ee6ef69490178278e12c5bacb426936b5eddc61f..075377a3df3c71571e39d987da0851cebb75bb58 100644 (file)
@@ -133,7 +133,6 @@ ICPState::~ICPState()
     HTTPMSGUNLOCK(request);
 }
 
-
 /* End ICPState */
 
 /* ICP2State */
index 96a83045c5c9a93f834c5836ff53201d256375e2..350b1233a45de9a29114560579f33709009f1acd 100644 (file)
@@ -105,7 +105,6 @@ ICP3State::created(StoreEntry *newEntry)
     delete this;
 }
 
-
 /// \ingroup ServerProtocolICPInternal3
 /* Currently Harvest cached-2.x uses ICP_VERSION_3 */
 void
index aac64644ce995d95d305ff1c0d0c874f9e885698..34c00fdc30f3f8a70cb88dfb32c346932944ddc3 100644 (file)
@@ -119,7 +119,6 @@ ACLIdent::clone() const
     return new ACLIdent(*this);
 }
 
-
 IdentLookup IdentLookup::instance_;
 
 IdentLookup *
index 9d6674e12b88b0a0b8c7ae46920627e7f8e96f02..f3cda5b90a43dd329521a2c152b921e09bfb118f 100644 (file)
@@ -52,7 +52,6 @@ private:
     static void LookupDone(const char *ident, void *data);
 };
 
-
 #include "acl/Acl.h"
 #include "acl/Data.h"
 
index 9591aca4628e82e47cc08b40c760ff36b3a177c4..ae0fc373690d6921ad78466e6e57ce2f19e28298 100644 (file)
@@ -234,7 +234,6 @@ public:
      */
     bool ApplyMask(const unsigned int cidr, int mtype);
 
-
     /** Return the ASCII equivalent of the address
      *  Semantically equivalent to the IPv4 inet_ntoa()
      *  eg. 127.0.0.1 (IPv4) or ::1 (IPv6)
@@ -382,7 +381,6 @@ private:
     static const struct in6_addr v6_noaddr;
 };
 
-
 inline std::ostream &
 operator << (std::ostream &os, const Address &ipa)
 {
index 8744d8337641319042b381eb38ce733bb774e4b6..6f8444f11cddc56be8d6347d4cfdcafc9917354f 100644 (file)
@@ -85,7 +85,6 @@ public:
      */
     inline void StopInterception(const char *str);
 
-
 private:
 
     /**
@@ -133,7 +132,6 @@ private:
      */
     bool PfInterception(const Comm::ConnectionPointer &newConn, int silent);
 
-
     int transparentActive_;
     int interceptActive_;
     time_t lastReported_; /**< Time of last error report. Throttles NAT error display to 1 per minute */
index 2bb4dbdf685cdb5394adab765bc44682b1483a1c..129e883f24c7158c8bd04ad3cb550db7bc2f2608 100644 (file)
@@ -3,7 +3,6 @@
 #include "ip/QosConfig.h"
 #include "Store.h"
 
-
 void
 Ip::Qos::getTosFromServer(fde *clientFde, const int server_fd)
 {
index c69ab8f7cbd05423ba7c87f0f88498e0a472cc38..2a87352eb4a9fe9884d72c7cc03ce68ddc42744e 100644 (file)
@@ -24,7 +24,6 @@
 #include <stdexcept>
 #endif
 
-
 CPPUNIT_TEST_SUITE_REGISTRATION( testIpAddress );
 
 /* so that we don't break POD dependency just for the test */
@@ -154,7 +153,6 @@ testIpAddress::testSockAddr6Constructor()
     CPPUNIT_ASSERT( memcmp( &insock, &outsock, sizeof(struct sockaddr_in6)) == 0 );
 }
 
-
 void
 testIpAddress::testCopyConstructor()
 {
@@ -174,7 +172,6 @@ testIpAddress::testCopyConstructor()
     Ip::Address inIPA(insock);
     Ip::Address outIPA(inIPA);
 
-
     /* test stored values */
     CPPUNIT_ASSERT( !outIPA.IsAnyAddr() );
     CPPUNIT_ASSERT( !outIPA.IsNoAddr() );
@@ -734,7 +731,6 @@ testIpAddress::testBugNullingDisplay()
 
     Ip::Address anIPA = "192.168.100.12";
 
-
     /* test stored values */
     CPPUNIT_ASSERT( !anIPA.IsAnyAddr() );
     CPPUNIT_ASSERT( !anIPA.IsNoAddr() );
@@ -745,7 +741,6 @@ testIpAddress::testBugNullingDisplay()
     anIPA.GetInAddr(outval);
     CPPUNIT_ASSERT( memcmp( &expectval, &outval, sizeof(struct in_addr)) == 0 );
 
-
     /* POKE NtoA display function to see what it is doing */
     anIPA.NtoA(ntoabuf,MAX_IPSTRLEN);
     CPPUNIT_ASSERT( !anIPA.IsAnyAddr() );
@@ -759,8 +754,6 @@ testIpAddress::testBugNullingDisplay()
     anIPA.GetInAddr(outval);
     CPPUNIT_ASSERT( memcmp( &expectval, &outval, sizeof(struct in_addr)) == 0 );
 
-
-
     /* POKE ToHostname display function to see what it is doing */
     anIPA.ToHostname(hostbuf,MAX_IPSTRLEN);
     CPPUNIT_ASSERT( !anIPA.IsAnyAddr() );
@@ -774,7 +767,6 @@ testIpAddress::testBugNullingDisplay()
     anIPA.GetInAddr(outval);
     CPPUNIT_ASSERT( memcmp( &expectval, &outval, sizeof(struct in_addr)) == 0 );
 
-
     /* POKE ToURL display function to see what it is doing */
     anIPA.ToURL(urlbuf,MAX_IPSTRLEN);
     CPPUNIT_ASSERT( !anIPA.IsAnyAddr() );
index 78953b00e981b89293a4defd7923c9a569de08b6..e54b028cbf479aa2ef8bffb970d48922e85d3fb2 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-
 #include "squid.h"
 #include "base/Subscription.h"
 #include "base/TextException.h"
@@ -30,7 +29,6 @@
 CBDATA_NAMESPACED_CLASS_INIT(Ipc, Coordinator);
 Ipc::Coordinator* Ipc::Coordinator::TheInstance = NULL;
 
-
 Ipc::Coordinator::Coordinator():
         Port(coordinatorAddr)
 {
index 757319edfa499fa39707d392a7a2ade6dc3d81f2..59fc24a7169007da3861a218d222f87b5669436c 100644 (file)
@@ -8,7 +8,6 @@
 #ifndef SQUID_IPC_COORDINATOR_H
 #define SQUID_IPC_COORDINATOR_H
 
-
 #include "Array.h"
 #include "ipc/Messages.h"
 #include "ipc/Port.h"
@@ -80,7 +79,6 @@ private:
     CBDATA_CLASS2(Coordinator);
 };
 
-
 } // namespace Ipc
 
 #endif /* SQUID_IPC_COORDINATOR_H */
index 603adf1d2202cccb3139d831d0d0f675ba0e469f..1a752fcdbda6bf6cbcc23e5edbe191ef517686fd 100644 (file)
@@ -9,7 +9,6 @@
 #include "Debug.h"
 #include "ipc/FdNotes.h"
 
-
 const char *
 Ipc::FdNote(int fdNoteId)
 {
index 20978ea2c890392d56acbaed1d305bd429d5154e..7b2d1b00cc11153cc393020c4a7ca0605ddd859e 100644 (file)
@@ -25,5 +25,4 @@ extern const char *FdNote(int fdNodeId); ///< converts FdNoteId into a string
 
 } // namespace Ipc;
 
-
 #endif /* SQUID_IPC_FD_NOTES_H */
index 0f652a6f1ace9fcd02b462527623fccc8ae89353..f78132614b6fb0a61f3ce5b282de98f8c5e6655d 100644 (file)
@@ -15,7 +15,6 @@
 #include "ipc/Port.h"
 #include "ipc/TypedMsgHdr.h"
 
-
 CBDATA_NAMESPACED_CLASS_INIT(Ipc, Forwarder);
 
 Ipc::Forwarder::RequestsMap Ipc::Forwarder::TheRequestsMap;
index dfda91f6e77a11ed5bb241fb012a3b3d20e1688a..46a24cb312743d82c108c71b6bd51f62bbecf9f4 100644 (file)
@@ -13,7 +13,6 @@
 #include "ipc/Request.h"
 #include <map>
 
-
 namespace Ipc
 {
 
index 5ff66a38032047393fec181e34b4236cebf4bc9b..f5bc52d7b09f02a89ec3684671f67d18700a8e53 100644 (file)
@@ -15,7 +15,6 @@
 #include "MemBuf.h"
 #include <algorithm>
 
-
 CBDATA_NAMESPACED_CLASS_INIT(Ipc, Inquirer);
 
 Ipc::Inquirer::RequestsMap Ipc::Inquirer::TheRequestsMap;
index 63415289389546147f38c450ee961e4915048320..19a00bc63c25a4a7f4dcf9d1fe58fa0fda9cf991 100644 (file)
@@ -16,7 +16,6 @@
 #include "ipc/StrandCoords.h"
 #include <map>
 
-
 namespace Ipc
 {
 
index a6d6e5f9f22f3068c4c4d2b119a24acbe21ef67f..ef4097288e2a5c564da48eae13f9c889f5b03ec6 100644 (file)
@@ -8,7 +8,6 @@
 
 #include "SquidString.h"
 
-
 /// Squid child, including current forked process info and
 /// info persistent across restarts
 class Kid
@@ -85,7 +84,6 @@ private:
     status_type status; ///< exit status of a stopped kid
 };
 
-
 // TODO: processes may not be kids; is there a better place to put this?
 
 /// process kinds
@@ -99,5 +97,4 @@ typedef enum {
 /// ProcessKind for the current process
 extern int TheProcessKind;
 
-
 #endif /* SQUID_IPC_KID_H */
index e5b8a90bd930f15ec74743e6296ae8304a500075..eb79c1f718dab78e83448ebe973063b096f3be94 100644 (file)
@@ -9,7 +9,6 @@
 #include "Array.h"
 #include "ipc/Kid.h"
 
-
 /// a collection of kids
 class Kids
 {
@@ -57,5 +56,4 @@ extern Kids TheKids; ///< All kids being maintained
 typedef char KidName[64]; ///< Squid process name (e.g., "squid-coord")
 extern KidName TheKidName; ///< current Squid process name
 
-
 #endif /* SQUID_IPC_KIDS_H */
index 12986ccd66d037802eaeb64815c74ef0a0aee31a..5590475cf0b89803bc0d8e67f99ad74ef12066ce 100644 (file)
@@ -27,5 +27,4 @@ typedef enum { mtNone = 0, mtRegistration,
 
 } // namespace Ipc;
 
-
 #endif /* SQUID_IPC_MESSAGES_H */
index 29c3bc213bfcd10a1bb8fa75f91237ffddb10171..905d10bd796d6c54133df314fda8884eff060807 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-
 #include "squid.h"
 #include "comm.h"
 #include "CommCalls.h"
@@ -15,7 +14,6 @@
 const char Ipc::coordinatorAddr[] = DEFAULT_STATEDIR "/coordinator.ipc";
 const char Ipc::strandAddrPfx[] = DEFAULT_STATEDIR "/kid";
 
-
 Ipc::Port::Port(const String& aListenAddr):
         UdsOp(aListenAddr)
 {
index a2d69b52b502ce7ee3eb407220cccaaa76aab921..f116392451b0e0c1a7df77609fc332a61e08fabc 100644 (file)
@@ -8,15 +8,12 @@
 #ifndef SQUID_IPC_PORT_H
 #define SQUID_IPC_PORT_H
 
-
 #include "SquidString.h"
 #include "ipc/UdsOp.h"
 
-
 namespace Ipc
 {
 
-
 /// Waits for and receives incoming IPC messages; kids handle the messages
 class Port: public UdsOp
 {
@@ -42,11 +39,9 @@ private:
     TypedMsgHdr buf; ///< msghdr struct filled by Comm
 };
 
-
 extern const char coordinatorAddr[]; ///< where coordinator listens
 extern const char strandAddrPfx[]; ///< strand's listening address prefix
 
 } // namespace Ipc
 
-
 #endif /* SQUID_IPC_PORT_H */
index 9ce1b94e83bd2bf62d84387a0f08046ae315f9f3..98dd765f28a5e8d4c31606146ddfba583e2cc067 100644 (file)
@@ -35,7 +35,6 @@ ReadersId(String id)
     return id;
 }
 
-
 /* QueueReader */
 
 InstanceIdDefinitions(Ipc::QueueReader, "ipcQR");
@@ -71,7 +70,6 @@ Ipc::QueueReaders::SharedMemorySize(const int capacity)
     return sizeof(QueueReaders) + sizeof(QueueReader) * capacity;
 }
 
-
 // OneToOneUniQueue
 
 Ipc::OneToOneUniQueue::OneToOneUniQueue(const unsigned int aMaxItemSize, const int aCapacity):
@@ -97,7 +95,6 @@ Ipc::OneToOneUniQueue::Items2Bytes(const unsigned int maxItemSize, const int siz
     return sizeof(OneToOneUniQueue) + maxItemSize * size;
 }
 
-
 /* OneToOneUniQueues */
 
 Ipc::OneToOneUniQueues::OneToOneUniQueues(const int aCapacity, const unsigned int maxItemSize, const int queueCapacity): theCapacity(aCapacity)
@@ -131,7 +128,6 @@ Ipc::OneToOneUniQueues::operator [](const int index) const
     return *reinterpret_cast<const OneToOneUniQueue *>(queue);
 }
 
-
 // FewToFewBiQueue
 
 Ipc::FewToFewBiQueue::Owner *
index 45fb3af576b42c369e546c0db2ea0e5a35ca1af0..78a1679e196b36111d27d3960e6982c8c1939853 100644 (file)
@@ -254,7 +254,6 @@ private:
     int theLastPopProcessId; ///< the ID of the last process we tried to pop() from
 };
 
-
 // OneToOneUniQueue
 
 template <class Value>
@@ -321,7 +320,6 @@ OneToOneUniQueue::push(const Value &value, QueueReader *const reader)
     return wasEmpty && (!reader || reader->raiseSignal());
 }
 
-
 // OneToOneUniQueues
 
 inline OneToOneUniQueue &
@@ -338,7 +336,6 @@ OneToOneUniQueues::front() const
     return *reinterpret_cast<const OneToOneUniQueue *>(queue);
 }
 
-
 // FewToFewBiQueue
 
 template <class Value>
index 981a85447dadd00a1a2c4986752b555ed04a8154..010cb5cfa6bcad2fb50737c977a253a530e5103b 100644 (file)
@@ -63,7 +63,6 @@ Ipc::ReadWriteLock::updateStats(ReadWriteLockStats &stats) const
     ++stats.count;
 }
 
-
 /* Ipc::ReadWriteLockStats */
 
 Ipc::ReadWriteLockStats::ReadWriteLockStats()
index 9bcad4042fd9425cbcf6e8d323b26f3ef669764a..925e02ca0df6eca8f089aa48afbfa75b99f20b77 100644 (file)
@@ -30,7 +30,6 @@ public:
     Atomic::Word writers; ///< number of writers trying to modify protected data
 };
 
-
 /// approximate stats of a set of ReadWriteLocks
 class ReadWriteLockStats
 {
index f56aad3fbf5828060440d1fb59b62b63f3113e48..fcc7c044db4a5bf8a324fda40e1ba468dcd66b99 100644 (file)
@@ -11,7 +11,6 @@
 #include "ipc/forward.h"
 #include "RefCount.h"
 
-
 namespace Ipc
 {
 
@@ -37,7 +36,6 @@ public:
     unsigned int requestId; ///< unique for sender; matches request w/ response
 };
 
-
 } // namespace Ipc
 
 #endif /* SQUID_IPC_REQUEST_H */
index 1ae2f8a7bfb507af06cb0af7fc8b571a2f08b2cc..2411c3b39697465feadbf907dd6b78c5645923b6 100644 (file)
@@ -11,7 +11,6 @@
 #include "ipc/forward.h"
 #include "RefCount.h"
 
-
 namespace Ipc
 {
 
@@ -43,7 +42,6 @@ std::ostream& operator << (std::ostream &os, const Response& response)
     return os;
 }
 
-
 } // namespace Ipc
 
 #endif /* SQUID_IPC_RESPONSE_H */
index a90e02f14357068e2dad4decdd933e8624f853a6..80fc691e80d05adb873b8933ca65e052aefe9a53 100644 (file)
@@ -65,8 +65,6 @@ Ipc::OpenListenerParams::operator <(const OpenListenerParams &p) const
     return addr.compareWhole(p.addr) < 0;
 }
 
-
-
 Ipc::SharedListenRequest::SharedListenRequest(): requestorId(-1), mapId(-1)
 {
     // caller will then set public data members
@@ -84,7 +82,6 @@ void Ipc::SharedListenRequest::pack(TypedMsgHdr &hdrMsg) const
     hdrMsg.putPod(*this);
 }
 
-
 Ipc::SharedListenResponse::SharedListenResponse(int aFd, int anErrNo, int aMapId):
         fd(aFd), errNo(anErrNo), mapId(aMapId)
 {
@@ -106,7 +103,6 @@ void Ipc::SharedListenResponse::pack(TypedMsgHdr &hdrMsg) const
     hdrMsg.putFd(fd);
 }
 
-
 void Ipc::JoinSharedListen(const OpenListenerParams &params,
                            AsyncCall::Pointer &callback)
 {
index 0b600338a086bd3f138d57d8572b0d09ca88826c..83f0033097d507a1503f54f0edf69d6cb70dc5e1 100644 (file)
@@ -78,5 +78,4 @@ extern void SharedListenJoined(const SharedListenResponse &response);
 
 } // namespace Ipc;
 
-
 #endif /* SQUID_IPC_SHARED_LISTEN_H */
index df4f12d84090dae5eff8a5f3e40fe6a1ac26413d..1f3c052c17c90f517ba1d89cc3feb6359b7e2795 100644 (file)
@@ -44,5 +44,4 @@ extern void StartListening(int sock_type, int proto, const Comm::ConnectionPoint
 
 } // namespace Ipc;
 
-
 #endif /* SQUID_IPC_START_LISTENING_H */
index a0b999af49b94058d0e8a14d73d4b7b20396ef25..846d96c5dc8d123a642ea528f0b61bf84a425fca 100644 (file)
@@ -267,7 +267,6 @@ Ipc::StoreMap::freeLocked(Slot &s, bool keepLocked)
            " in map [" << path << ']');
 }
 
-
 /* Ipc::StoreMapSlot */
 
 Ipc::StoreMapSlot::StoreMapSlot(): state(Empty)
index 7006b39cb14cb3cbc750caaf6f8d80f09fa263f7..42afbf46da350678cd09927162fac656b0c76aa9 100644 (file)
@@ -197,7 +197,6 @@ StoreMapWithExtras<ExtrasT>::extras(const sfileno fileno) const
     return sharedExtras[fileno];
 }
 
-
 } // namespace Ipc
 
 // We do not reuse FileMap because we cannot control its size,
index f7eba0150e92ee6b96c690490734aa1930365242..3bd7b2c23971f2b32ff24ae87d198a8ae7be8c75 100644 (file)
@@ -32,7 +32,6 @@
 
 CBDATA_NAMESPACED_CLASS_INIT(Ipc, Strand);
 
-
 Ipc::Strand::Strand():
         Port(MakeAddr(strandAddrPfx, KidIdentifier)),
         isRegistered(false)
index 30c7c5442c864d86cd7ea200f455a724e9842a24..171c60ca6ffb5f89c33a3e38e088a460636a5e0f 100644 (file)
@@ -52,8 +52,6 @@ private:
     CBDATA_CLASS2(Strand);
 };
 
-
 }
 
-
 #endif /* SQUID_IPC_STRAND_H */
index 50c41de75d7a54e98e9db65d078a4fbad5f51e5c..cbd99592bbbcf36306c1da75d0682048168d2739 100644 (file)
@@ -5,14 +5,12 @@
  *
  */
 
-
 #include "squid.h"
 #include "Debug.h"
 #include "ipc/Messages.h"
 #include "ipc/StrandCoord.h"
 #include "ipc/TypedMsgHdr.h"
 
-
 Ipc::StrandCoord::StrandCoord(): kidId(-1), pid(0)
 {
 }
@@ -36,7 +34,6 @@ void Ipc::StrandCoord::pack(TypedMsgHdr &hdrMsg) const
     hdrMsg.putString(tag);
 }
 
-
 Ipc::HereIamMessage::HereIamMessage(const StrandCoord &aStrand):
         strand(aStrand)
 {
index d6fc5f82697a1d6570fe7fc99bd996e5ea2c53d3..b455f068230040b9f7ef21a5de90b2ccf354d320 100644 (file)
@@ -41,8 +41,6 @@ public:
     StrandCoord strand; ///< registrant coordinates and related details
 };
 
-
-
 } // namespace Ipc;
 
 #endif /* SQUID_IPC_STRAND_COORD_H */
index b23fe37107e97f90c5288f1625c2510d8d90ecb3..9a3461e5ac15ee66e5fd06e8dd495e25a1cd583a 100644 (file)
@@ -5,13 +5,11 @@
  *
  */
 
-
 #include "squid.h"
 #include "ipc/Messages.h"
 #include "ipc/StrandSearch.h"
 #include "ipc/TypedMsgHdr.h"
 
-
 Ipc::StrandSearchRequest::StrandSearchRequest(): requestorId(-1)
 {
 }
@@ -31,7 +29,6 @@ void Ipc::StrandSearchRequest::pack(TypedMsgHdr &hdrMsg) const
     hdrMsg.putString(tag);
 }
 
-
 /* StrandSearchResponse */
 
 Ipc::StrandSearchResponse::StrandSearchResponse(const Ipc::StrandCoord &aStrand):
index 74e71817680aa76905723c42848b90d86166f9e7..68e011064a96a45259942ae61646098626b9480d 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-
 #include "squid.h"
 #include "protos.h"
 #include "base/TextException.h"
@@ -61,8 +60,6 @@ void Ipc::TypedMsgHdr::sync()
     offset = 0;
 }
 
-
-
 int
 Ipc::TypedMsgHdr::type() const
 {
index 12b03d0d4f3b5888ea5a7bb391d5b1fcafa04756..2c5a211a7741dee18a74bc701667e36e22f8fc81 100644 (file)
@@ -5,7 +5,6 @@
  *
  */
 
-
 #include "squid.h"
 #include "comm.h"
 #include "CommCalls.h"
@@ -14,7 +13,6 @@
 #include "base/TextException.h"
 #include "ipc/UdsOp.h"
 
-
 Ipc::UdsOp::UdsOp(const String& pathAddr):
         AsyncJob("Ipc::UdsOp"),
         address(PathToAddress(pathAddr)),
@@ -68,7 +66,6 @@ void Ipc::UdsOp::noteTimeout(const CommTimeoutCbParams &)
     timedout(); // our kid handles communication timeout
 }
 
-
 struct sockaddr_un
 Ipc::PathToAddress(const String& pathAddr) {
     assert(pathAddr.size() != 0);
@@ -79,7 +76,6 @@ Ipc::PathToAddress(const String& pathAddr) {
     return unixAddr;
 }
 
-
 CBDATA_NAMESPACED_CLASS_INIT(Ipc, UdsSender);
 
 Ipc::UdsSender::UdsSender(const String& pathAddr, const TypedMsgHdr& aMessage):
@@ -131,7 +127,6 @@ void Ipc::UdsSender::timedout()
     mustStop("timedout");
 }
 
-
 void Ipc::SendMessage(const String& toAddress, const TypedMsgHdr &message)
 {
     AsyncJob::Start(new UdsSender(toAddress, message));
index cccc6b2bd8d0c7ae886694cfe0f30df27329d85c..86064462e6e443d6dc4a6059ddd395ae34cf838e 100644 (file)
@@ -8,7 +8,6 @@
 #ifndef SQUID_IPC_ASYNCUDSOP_H
 #define SQUID_IPC_ASYNCUDSOP_H
 
-
 #include "SquidString.h"
 #include "base/AsyncJob.h"
 #include "cbdata.h"
@@ -60,8 +59,6 @@ private:
 /// converts human-readable filename path into UDS address
 extern struct sockaddr_un PathToAddress(const String &pathAddr);
 
-
-
 // XXX: move UdsSender code to UdsSender.{cc,h}
 /// attempts to send an IPC message a few times, with a timeout
 class UdsSender: public UdsOp
@@ -91,12 +88,10 @@ private:
     CBDATA_CLASS2(UdsSender);
 };
 
-
 void SendMessage(const String& toAddress, const TypedMsgHdr& message);
 /// import socket fd from another strand into our Comm state
 const Comm::ConnectionPointer & ImportFdIntoComm(const Comm::ConnectionPointer &conn, int socktype, int protocol, FdNoteId noteId);
 
-
 }
 
 #endif /* SQUID_IPC_ASYNCUDSOP_H */
index 283dfcf8a8306d7c7542b9eafa117b4f74230051..e893bc14f7a3c237f3b39e104942277016d32425 100644 (file)
@@ -12,7 +12,6 @@
 #include <iostream>
 #endif
 
-
 std::ostream &Ipc::Mem::operator <<(std::ostream &os, const PageId &page)
 {
     return os << "sh_page" << page.pool << '.' << page.number;
index 532003cf9768fa20545052e76eb5fa7d0fb95d95..42331379bb0e3f287e8dd5fc94fe3353b826d035 100644 (file)
@@ -10,7 +10,6 @@
 #include "ipc/mem/Page.h"
 #include "ipc/mem/PagePool.h"
 
-
 // Ipc::Mem::PagePool
 
 Ipc::Mem::PagePool::Owner *
index 25d84975078c01e916a531cfbaef57903fa494ef..5e1225839fd871fec98620175160fca0c206e499 100644 (file)
@@ -14,7 +14,6 @@
 /// used to mark a stack slot available for storing free page offsets
 const Ipc::Mem::PageStack::Value Writable = 0;
 
-
 Ipc::Mem::PageStack::PageStack(const uint32_t aPoolId, const unsigned int aCapacity, const size_t aPageSize):
         thePoolId(aPoolId), theCapacity(aCapacity), thePageSize(aPageSize),
         theSize(theCapacity),
index ffef2f722434cb39d05d48576df4f2563e8efa3e..c99f4d5e1905a03ac0a1d87b1fde414edba01753 100644 (file)
@@ -104,7 +104,6 @@ private:
 
 RunnerRegistrationEntry(rrAfterConfig, SharedMemPagesRr);
 
-
 void
 SharedMemPagesRr::run(const RunnerRegistry &r)
 {
index bb626d10e321d6f0507fcc7de6e19876f3059d41..73bead4140a03716a3fa7f1dce10163bdf00db2d 100644 (file)
@@ -25,7 +25,6 @@ void PutPage(PageId &page);
 /// converts page handler into a temporary writeable shared memory pointer
 char *PagePointer(const PageId &page);
 
-
 /* Limits and statistics */
 
 /// the total number of shared memory pages that can be in use at any time
index e5f5b5f8ce42bd4e61cc7eb9b384a1f2e1564bae..8ce9bc95daf916c4064a1659248574cf45eb2f59 100644 (file)
@@ -16,7 +16,6 @@
 #include <sys/stat.h>
 #include <unistd.h>
 
-
 // test cases change this
 const char *Ipc::Mem::Segment::BasePath = DEFAULT_STATEDIR;
 
index 8a231245f89714e1ef90316cdf18c516ab097037..227b3ab0762972c9d46928f5226c50685a23485d 100644 (file)
@@ -177,8 +177,6 @@ ipcache_entry::age() const
     return request_time.tv_sec ? tvSubMsec(request_time, current_time) : -1;
 }
 
-
-
 /**
  \ingroup IPCacheInternal
  *
@@ -712,7 +710,6 @@ ipcacheRegisterWithCacheManager(void)
                         stat_ipcache_get, 0, 1);
 }
 
-
 /**
  \ingroup IPCacheAPI
  *
index 4714559a7c0a0648e3e8b0994c099b551089226a..f603a9559e38cb18bedb29b7f5f7b7e1b4e17399 100644 (file)
@@ -226,7 +226,6 @@ logfileFlushEvent(void *data)
     eventAdd("logfileFlush", logfileFlushEvent, lf, 1.0, 1);
 }
 
-
 /* External code */
 
 int
index 4cf66665ca84f7def02aefa97c2b739fb4ea3f0f..4d35914c7f201f046e6812495fd2c40f9f02df6e 100644 (file)
@@ -153,8 +153,6 @@ logfile_mod_syslog_close(Logfile * lf)
     lf->data = NULL;
 }
 
-
-
 /*
  * This code expects the path to be syslog:<priority>
  */
index ab27445f46e22cfddda19db1b5a561c382ab5bde..dad3fa140cea16ccb072f42d1ce8afb3f9b333ed 100644 (file)
@@ -149,8 +149,6 @@ logfile_mod_tcp_close(Logfile * lf)
     lf->data = NULL;
 }
 
-
-
 /*
  * This code expects the path to be //host:port
  */
index e470714ba26ab74456b1b7ca754a470b09b515c8..8ef18dba2de62984d42d67b03ca7cc380641ae4e 100644 (file)
@@ -147,8 +147,6 @@ logfile_mod_udp_close(Logfile * lf)
     lf->data = NULL;
 }
 
-
-
 /*
  * This code expects the path to be //host:port
  */
index 997dc477d1e9678c5308405a0868d81e507ab181..f8f0188ab3bf63375f2ca74ba1998ba7e52ae915 100644 (file)
@@ -32,7 +32,6 @@
  *
  */
 
-
 #include "squid.h"
 #include "AccessLogEntry.h"
 #include "Store.h"
index 038f38c7ca2f8a86e10aadb97548d7691cbda81e..90992ade037c1805ddd63229ecd4be3a24132625 100644 (file)
@@ -199,7 +199,6 @@ memDataInit(mem_type type, const char *name, size_t size, int max_pages_notused,
     MemPools[type]->zeroOnPush(zeroOnPush);
 }
 
-
 /* find appropriate pool and use it (pools always init buffer with 0s) */
 void *
 memAllocate(mem_type type)
index c5d13e4571536e0eb6e7deae7951b3e25cb1fc57..e4dd59a924c67958a414259d6c2379d684ce50a7 100644 (file)
@@ -19,7 +19,6 @@
 #include "SquidTime.h"
 #include "Store.h"
 
-
 Mgr::Action::Action(const Command::Pointer &aCmd): cmd(aCmd)
 {
     Must(cmd != NULL);
index d1f6d1df7f55793f215869fd921699eac1e52f34..5d29a6b006fe45dcac438a9c096375cd33225cad 100644 (file)
@@ -27,7 +27,6 @@ public:
     Action(const CommandPointer &aCmd);
     virtual ~Action();
 
-
     /* for local Cache Manager use */
 
     /// collect + fillEntry: collect local information and fill the store entry
@@ -36,13 +35,11 @@ public:
     /// prepare store entry, dump info, close store entry (if possible)
     void fillEntry(StoreEntry *entry, bool writeHttpHeader);
 
-
     /* for global Coordinator use */
 
     /// incrementally merge in remote information (of the same action type)
     virtual void add(const Action &action);
 
-
     /* global-local communication */
 
     /// respond to Coordinator request; default is to collect and sendResponse
@@ -56,7 +53,6 @@ public:
     /// notify Coordinator that this action is done with local processing
     void sendResponse(unsigned int requestId);
 
-
     /* Action properties */
 
     /// whether at least some local kid info can be combined and, hence, the
@@ -79,11 +75,9 @@ protected:
      */
     virtual void dump(StoreEntry *entry) {}
 
-
 private:
     const CommandPointer cmd; ///< the command that caused this action
 
-
 private:
     Action(const Action &); // not implemented
     Action &operator= (const Action &); // not implemented
index 3ad3d0f506c64b06f1f2926932ae7d0fb6fa9384..e51cd66974183c1c0fab83fa454bd53ef1f38028 100644 (file)
@@ -11,7 +11,6 @@
 #include "mgr/ActionWriter.h"
 #include "Store.h"
 
-
 CBDATA_NAMESPACED_CLASS_INIT(Mgr, ActionWriter);
 
 Mgr::ActionWriter::ActionWriter(const Action::Pointer &anAction, const Comm::ConnectionPointer &conn):
index 0180c44c85b7e7e68fba7dee79c8e057d782051d..95f98de9981bb5444e737afbe80696e71a1cc239 100644 (file)
@@ -12,7 +12,6 @@
 #include "HttpRequestMethod.h"
 #include "mgr/StoreToCommWriter.h"
 
-
 namespace Mgr
 {
 
index 495e5bff2bd76881cdb2b857961336c2b6340694..291f7e486b4b79faea977809de401a8e638648cc 100644 (file)
@@ -12,7 +12,6 @@
 
 /* a collection of simple, mostly stateless actions */
 
-
 namespace Mgr
 {
 
@@ -31,7 +30,6 @@ protected:
     IndexAction(const CommandPointer &cmd);
 };
 
-
 /// returns available Cache Manager actions and their access requirements
 class MenuAction: public Action
 {
@@ -44,7 +42,6 @@ protected:
     MenuAction(const CommandPointer &cmd);
 };
 
-
 /// shuts Squid down
 class ShutdownAction: public Action
 {
index a033e6fdb5b73bb7d491f5139b23488f37da74f4..f138888c2629b7b96470221537171ce77364a04f 100644 (file)
@@ -14,7 +14,6 @@
 #include "SquidTime.h"
 #include "Store.h"
 
-
 extern void GetCountersStats(Mgr::CountersActionData& stats);
 extern void DumpCountersStats(Mgr::CountersActionData& stats, StoreEntry* sentry);
 
index 447bb8bccab538e019f330004acdcb0b078a8aba..5b32f7b47442bcf9792f67d7a3db499155211179 100644 (file)
@@ -11,7 +11,6 @@
 #include "mgr/Action.h"
 #include <sys/time.h>
 
-
 namespace Mgr
 {
 
index a43caf57524295450d68af85af388b5742019208..89828a0846039dc3b0783425a64a86f838888d3b 100644 (file)
@@ -12,7 +12,6 @@
 #include "mgr/Response.h"
 #include "Store.h"
 
-
 CBDATA_NAMESPACED_CLASS_INIT(Mgr, Filler);
 
 Mgr::Filler::Filler(const Action::Pointer &anAction, const Comm::ConnectionPointer &conn,
index 19493a37b94b1430fe8560b97ced2aa79ad2ca25..5ede4f7cdca17a966e37f57df70bfe898343b60d 100644 (file)
 #include "SquidTime.h"
 #include "Store.h"
 
-
 CBDATA_NAMESPACED_CLASS_INIT(Mgr, Forwarder);
 
-
 Mgr::Forwarder::Forwarder(const Comm::ConnectionPointer &aConn, const ActionParams &aParams,
                           HttpRequest* aRequest, StoreEntry* anEntry):
         Ipc::Forwarder(new Request(KidIdentifier, 0, aConn, aParams), 10),
index 473c5432389931262c37a53f33c922dc9ce42d2b..00a65001d9616b542fe459a1bf5ff7a62827f906 100644 (file)
@@ -12,7 +12,6 @@
 #include "ipc/Forwarder.h"
 #include "mgr/ActionParams.h"
 
-
 class CommCloseCbParams;
 class HttpRequest;
 class StoreEntry;
index 8757d2e6e411c5a992a37942efd692148c0ba485..855c40973fc57a8375ad9d30e001ebfc05a2f0c2 100644 (file)
@@ -17,7 +17,6 @@
 #include "protos.h"
 #include "Store.h"
 
-
 Mgr::FunAction::Pointer
 Mgr::FunAction::Create(const Command::Pointer &aCmd, OBJH* aHandler)
 {
index d3fe89784ed983a69a785c2b1c9aea247d32eb83..d77ee2052f65c6dd0eea30a27f1816e52f8633ac 100644 (file)
@@ -11,7 +11,6 @@
 #include "mgr/Action.h"
 #include "mgr/ActionCreator.h"
 
-
 namespace Mgr
 {
 
@@ -38,7 +37,6 @@ private:
     OBJH *handler; ///< legacy function that collects and dumps info
 };
 
-
 /// creates FunAction using ActionCreator API
 class FunActionCreator: public ActionCreator
 {
index 24eb410af91f970192ae6c22a65b7930454b2a35..f419fbe85bd5adc54f5737df99f78e81e55b1591 100644 (file)
@@ -21,7 +21,6 @@
 #include "SquidTime.h"
 #include "Store.h"
 
-
 extern void GetInfo(Mgr::InfoActionData& stats);
 extern void DumpInfo(Mgr::InfoActionData& stats, StoreEntry* sentry);
 extern void DumpMallocStatistics(StoreEntry* sentry);
index bdd9ed8bafae29f96c745772c4affebce8fbb982..64b4af17ebc3647cbb8ad6f86dd87befd83af3dd 100644 (file)
@@ -12,7 +12,6 @@
 #include "StoreStats.h"
 #include <sys/time.h>
 
-
 namespace Mgr
 {
 
index 2ad65fa9432299fb02311c1d6d76e23e4d5d3640..65c34f2a8ea510fc09ea2e04263142779d552d47 100644 (file)
 #include <memory>
 #include <algorithm>
 
-
 CBDATA_NAMESPACED_CLASS_INIT(Mgr, Inquirer);
 
-
 Mgr::Inquirer::Inquirer(Action::Pointer anAction,
                         const Request &aCause, const Ipc::StrandCoords &coords):
         Ipc::Inquirer(aCause.clone(), applyQueryParams(coords, aCause.params.queryParams), anAction->atomic() ? 10 : 100),
index c2f77b128851d8e310c0a56458295ad215c965b0..533e059fa1429d26c0c6fe015dab209b61d599c6 100644 (file)
@@ -10,7 +10,6 @@
 #include "ipc/TypedMsgHdr.h"
 #include "mgr/IntParam.h"
 
-
 Mgr::IntParam::IntParam():
         QueryParam(QueryParam::ptInt), array()
 {
index fcf2ac0592d6404340730241d1437afa577eea92..e59d4a3a0ae0bbb9076f26aac35e312037b86424 100644 (file)
@@ -13,7 +13,6 @@
 #include "mgr/QueryParam.h"
 #include <vector>
 
-
 namespace Mgr
 {
 
index 2a780bc29a934c67ea10939dccff966df3370d6e..1e6195cabaeaff789de4783ec7b77d2593801e34 100644 (file)
@@ -14,7 +14,6 @@
 #include "SquidMath.h"
 #include "Store.h"
 
-
 extern void GetAvgStat(Mgr::IntervalActionData& stats, int minutes, int hours);
 extern void DumpAvgStat(Mgr::IntervalActionData& stats, StoreEntry* sentry);
 
index fb1b80d8fe9e92b20f00a0f597c81c3fe0f5c9dd..5b7869741ecc65d4f2a739ff4098128802eed0b8 100644 (file)
@@ -11,7 +11,6 @@
 #include "mgr/Action.h"
 #include <sys/time.h>
 
-
 namespace Mgr
 {
 
index 676b7f544d96a9bc2be8b7aacd4bc367a421a6e7..04131dfb7cff5dce5468540b77ed60400ce7896f 100644 (file)
@@ -14,7 +14,6 @@
 #include "SquidMath.h"
 #include "Store.h"
 
-
 extern void GetIoStats(Mgr::IoActionData& stats);
 extern void DumpIoStats(Mgr::IoActionData& stats, StoreEntry* sentry);
 
index 5fc3a84d4caa61d6da397d0cf7a3fbd9b393a212..d7cf6f8a336a660a9bf6ce4f552f67b4a3e209d5 100644 (file)
@@ -11,7 +11,6 @@
 #include "ipc/forward.h"
 #include "RefCount.h"
 
-
 namespace Mgr
 {
 
index 4d71b10338135f4e8ea929794f6395cf89177631..f8b419f0c1396e6e0b788233f85a556a6c02ad44 100644 (file)
@@ -12,7 +12,6 @@
 #include "mgr/StringParam.h"
 #include "mgr/QueryParams.h"
 
-
 Mgr::QueryParam::Pointer
 Mgr::QueryParams::get(const String& name) const
 {
index 1cfa5514d629eceed31442c5b8a1698092170a15..f575954ad47de3cb9e50cd6a1982988849445b31 100644 (file)
@@ -14,7 +14,6 @@
 #include <vector>
 #include <utility>
 
-
 namespace Mgr
 {
 
index 79f8235e0d58238294443f606d253507bf65d29b..3e6da16d61e845b4ddad11862cff7e746105489d 100644 (file)
@@ -13,7 +13,6 @@
 #include "mgr/ActionParams.h"
 #include "mgr/Request.h"
 
-
 Mgr::Request::Request(int aRequestorId, unsigned int aRequestId, const Comm::ConnectionPointer &aConn,
                       const ActionParams &aParams):
         Ipc::Request(aRequestorId, aRequestId),
index 45431d3249c99137ef2c4f554818c2c354ec0517..f93521bf9d81b1c28e9efde2205c314eb0fbe5ec 100644 (file)
@@ -12,7 +12,6 @@
 #include "ipc/Request.h"
 #include "mgr/ActionParams.h"
 
-
 namespace Mgr
 {
 
@@ -37,7 +36,6 @@ public:
     ActionParams params; ///< action name and parameters
 };
 
-
 } // namespace Mgr
 
 #endif /* SQUID_MGR_REQUEST_H */
index ab79b475db6a26ba93589cd3f38a23fbb582b7a1..5b708bc623ca04e5fb024c0f2ee2c40b16da58d4 100644 (file)
@@ -14,7 +14,6 @@
 #include "mgr/ActionProfile.h"
 #include "mgr/Response.h"
 
-
 Mgr::Response::Response(unsigned int aRequestId, Action::Pointer anAction):
         Ipc::Response(aRequestId), action(anAction)
 {
index 38f5f08e7ee2349fde084280946cf081dd915178..a2d6d526132b03f17193aaf7ec098384e3cd4259 100644 (file)
@@ -12,7 +12,6 @@
 #include "ipc/Response.h"
 #include "mgr/Action.h"
 
-
 namespace Mgr
 {
 
index f8191a38b6b5a41b97aec0e648bbf2d3e9fccbb5..ae7e8037c97d2db3a620e30f22bbae4ffae16c15 100644 (file)
@@ -10,7 +10,6 @@
 
 #include "mgr/Action.h"
 
-
 namespace Mgr
 {
 
index be1bc6a021bcd2a2c4692530eb018d86b98fc47f..f47a1fe6bc460a78a1ffd24bd39ae2a3d5d243e4 100644 (file)
@@ -13,7 +13,6 @@
 #include "protos.h"
 #include "Store.h"
 
-
 Mgr::StoreIoActionData::StoreIoActionData()
 {
     xmemset(this, 0, sizeof(*this));
index c9c2db46f1080385fea6e721c4c21ceeccc33644..49d3ebfcb576ca685ee5b4586c0a418488ad1a38 100644 (file)
@@ -10,7 +10,6 @@
 
 #include "mgr/Action.h"
 
-
 namespace Mgr
 {
 
index a5e390c1fdc89fe3861ba3543b3171b054f52144..9a179d305052de306dae18b11f113ac32d655df3 100644 (file)
 #include "StoreClient.h"
 #include "Store.h"
 
-
 CBDATA_NAMESPACED_CLASS_INIT(Mgr, StoreToCommWriter);
 
-
 Mgr::StoreToCommWriter::StoreToCommWriter(const Comm::ConnectionPointer &conn, StoreEntry* anEntry):
         AsyncJob("Mgr::StoreToCommWriter"),
         clientConnection(conn), entry(anEntry), sc(NULL), writeOffset(0), closer(NULL)
index 911f8276a9ffa9fb9324534538132f9b287a39a7..647b6c3c66718f8d308c61f09c0870ae2f3d8219 100644 (file)
@@ -13,7 +13,6 @@
 #include "mgr/Action.h"
 #include "StoreIOBuffer.h"
 
-
 class store_client;
 class CommIoCbParams;
 class CommCloseCbParams;
index 8d0f7a2ecacd5d3ead39009c137aaa147342b7b6..0677941a5b94ee5dd363141dd83e159bfe790a32 100644 (file)
@@ -9,7 +9,6 @@
 #include "ipc/TypedMsgHdr.h"
 #include "mgr/StringParam.h"
 
-
 Mgr::StringParam::StringParam():
         QueryParam(QueryParam::ptString), str()
 {
index e690b8d6c7a80c1477f9ceda1d233aebb74d7120..3731a27eb6870d6a4279c9f6dc7712b1d96b23d1 100644 (file)
@@ -13,7 +13,6 @@
 #include "mgr/QueryParam.h"
 #include "SquidString.h"
 
-
 namespace Mgr
 {
 
index 8e06998d3550f2e9e1448c4f46684d95770fc5a4..9e63b7bc421e6d41a4c65e84bb78c481440be26e 100644 (file)
@@ -172,7 +172,6 @@ MimeIcon::_free()
     safe_free (url);
 }
 
-
 char const *
 mimeGetIcon(const char *fn)
 {
index d24e20469ec2e6939bc9fdeb93c6bd9e43e4c5e8..e87dac74b985d64dd26997fe426e9e7690821c82 100644 (file)
@@ -119,7 +119,6 @@ mime_get_header(const char *mime, const char *name)
     return mime_get_header_field(mime, name, NULL);
 }
 
-
 size_t
 headersEnd(const char *mime, size_t l)
 {
index 10a07e60befd7d3307c45a47282893ef68864a33..2b78b1769a474d19c97431e6b11a783f45315dd8 100644 (file)
@@ -98,7 +98,6 @@ neighborTypeStr(const peer * p)
     return "Parent";
 }
 
-
 peer *
 whichPeer(const Ip::Address &from)
 {
index 26a5062a053fbc6228a33b10786da280556c8940..836409e598850163497137eadc71b25ea2214dfb 100644 (file)
@@ -90,7 +90,6 @@ private:
     CBDATA_CLASS2(IdleConnList);
 };
 
-
 #include "ip/forward.h"
 
 class StoreEntry;
@@ -145,7 +144,6 @@ private:
     int theCount; ///< the number of pooled connections
 };
 
-
 class StoreEntry;
 class PconnPool;
 
index 3452281b1112b690d29c9b711a985be73c0676c1..93f15c9f3b785ff192a75c83e378482e49af2063 100644 (file)
@@ -70,7 +70,6 @@ static void peerDigestFetchSetStats(DigestFetchState * fetch);
 static int peerDigestSetCBlock(PeerDigest * pd, const char *buf);
 static int peerDigestUseful(const PeerDigest * pd);
 
-
 /* local constants */
 Version const CacheDigestVer = { 5, 3 };
 
@@ -405,7 +404,6 @@ peerDigestRequest(PeerDigest * pd)
                     peerDigestHandleReply, fetch);
 }
 
-
 /* Handle the data copying .. */
 
 /*
@@ -515,8 +513,6 @@ finish:
     cbdataReferenceDone(fetch);
 }
 
-
-
 /* wait for full http headers to be received then parse them */
 /*
  * This routine handles parsing the reply line.
@@ -865,7 +861,6 @@ peerDigestReqFinish(DigestFetchState * fetch, char *buf,
         peerDigestFetchFinish(fetch, err);
 }
 
-
 /* destroys digest if peer disappeared
  * must be called only when fetch and pd cbdata are valid */
 static void
@@ -980,7 +975,6 @@ peerDigestFetchSetStats(DigestFetchState * fetch)
 
 }
 
-
 static int
 peerDigestSetCBlock(PeerDigest * pd, const char *buf)
 {
index 28483cf388d05db82e633e4ff28c5103c7a3dbf2..a5971b9d5a118e2b82742bb485aaa4623da261f6 100644 (file)
@@ -534,7 +534,6 @@ restart:
                                            output_token.length);
         }
 
-
 cleanup:
         gss_delete_sec_context(&minor_status, &gss_context, NULL);
         gss_release_buffer(&minor_status, &service);
index de8e41cc2b645cda4989be299c5da0d0e0ad5d1c..2be99c442c2eaf7e5395bb9e401f7b84da2cba4f 100644 (file)
@@ -135,7 +135,6 @@ peerSelectIcpPing(HttpRequest * request, int direct, StoreEntry * entry)
     return n;
 }
 
-
 void
 peerSelect(Comm::ConnectionList * paths,
            HttpRequest * request,
@@ -580,7 +579,6 @@ peerGetSomeNeighbor(ps_state * ps)
                    " ICP replies expected, RTT " << ps->ping.timeout <<
                    " msec");
 
-
             if (ps->ping.n_replies_expected > 0) {
                 entry->ping_status = PING_WAITING;
                 eventAdd("peerPingTimeout",
@@ -639,7 +637,6 @@ peerGetSomeNeighborReplies(ps_state * ps)
     }
 }
 
-
 /*
  * peerGetSomeDirect
  *
index 342119209ce21e48f51170b9171a6aeb6e011ece..11ea331f4d2c31b6693066527189a8235eb5e014 100644 (file)
@@ -84,7 +84,6 @@ peerUserHashInit(void)
     n_userhash_peers = 0;
     /* find out which peers we have */
 
-
     peerUserHashRegisterWithCacheManager();
 
     for (p = Config.peers; p; p = p->next) {
index ad0d82460ffa6b62addc5cd5ffdff6ecd4115ed7..b49336a21d8398891bd5930a70bd3ba1818305dd 100644 (file)
 /* for parameters that still need these */
 #include "lookup_t.h"
 
-
 class HttpRequestMethod;
 #if USE_DELAY_POOLS
 class ClientInfo;
 #endif
 
-
 #if USE_FORW_VIA_DB
 extern void fvdbCountVia(const char *key);
 extern void fvdbCountForw(const char *key);
@@ -70,7 +68,6 @@ SQUIDCEXTERN void add_http_port(char *portspec);
 extern int xatoi(const char *token);
 extern long xatol(const char *token);
 
-
 /* extra functions from cache_cf.c useful for lib modules */
 SQUIDCEXTERN void parse_int(int *var);
 SQUIDCEXTERN void parse_onoff(int *var);
@@ -79,7 +76,6 @@ SQUIDCEXTERN void parse_wordlist(wordlist ** list);
 SQUIDCEXTERN void requirePathnameExists(const char *name, const char *path);
 SQUIDCEXTERN void parse_time_t(time_t * var);
 
-
 /* client_side.c - FD related client side routines */
 
 SQUIDCEXTERN void clientdbInit(void);
@@ -163,7 +159,6 @@ class HttpReply;
 /// \ingroup ServerProtocolFTPAPI
 SQUIDCEXTERN const char *ftpUrlWith2f(HttpRequest *);
 
-
 /**
  \defgroup ServerProtocolGopherAPI Server-Side Gopher API
  \ingroup ServerProtocol
@@ -175,7 +170,6 @@ SQUIDCEXTERN void gopherStart(FwdState *);
 /// \ingroup ServerProtocolGopherAPI
 SQUIDCEXTERN int gopherCachable(const HttpRequest *);
 
-
 /**
  \defgroup ServerProtocolWhoisAPI Server-Side WHOIS API
  \ingroup ServerProtocol
@@ -184,7 +178,6 @@ SQUIDCEXTERN int gopherCachable(const HttpRequest *);
 /// \ingroup ServerProtocolWhoisAPI
 SQUIDCEXTERN void whoisStart(FwdState *);
 
-
 /* http.c */
 /* for http_hdr_type field */
 #include "HttpHeader.h"
@@ -223,7 +216,6 @@ SQUIDCEXTERN const char *getStringPrefix(const char *str, const char *end);
 SQUIDCEXTERN int httpHeaderParseInt(const char *start, int *val);
 SQUIDCEXTERN void httpHeaderPutStrf(HttpHeader * hdr, http_hdr_type id, const char *fmt,...) PRINTF_FORMAT_ARG3;
 
-
 /* Http Header */
 SQUIDCEXTERN void httpHeaderInitModule(void);
 SQUIDCEXTERN void httpHeaderCleanModule(void);
@@ -357,7 +349,6 @@ extern void shut_down(int);
 extern void rotate_logs(int);
 extern void reconfigure(int);
 
-
 extern void start_announce(void *unused);
 extern void waisStart(FwdState *);
 
@@ -395,7 +386,6 @@ SQUIDCEXTERN int memInUse(mem_type);
 SQUIDCEXTERN void memDataInit(mem_type, const char *, size_t, int, bool zeroOnPush = true);
 SQUIDCEXTERN void memCheckInit(void);
 
-
 /* Mem */
 SQUIDCEXTERN void memConfigure(void);
 
@@ -412,7 +402,6 @@ extern void storeLogRotate(void);
 extern void storeLogClose(void);
 extern void storeLogOpen(void);
 
-
 /*
  * store_key_*.c
  */
@@ -455,7 +444,6 @@ extern bool storeRebuildParseEntry(MemBuf &buf, StoreEntry &e, cache_key *key, s
 /// checks whether the loaded entry should be kept; updates counters
 extern bool storeRebuildKeepEntry(const StoreEntry &e, const cache_key *key, struct _store_rebuild_data &counts);
 
-
 /*
  * store_swapin.c
  */
@@ -472,7 +460,6 @@ SQUIDCEXTERN int storeUnregister(store_client * sc, StoreEntry * e, void *data)
 SQUIDCEXTERN int storePendingNClients(const StoreEntry * e);
 SQUIDCEXTERN int storeClientIsThisAClient(store_client * sc, void *someClient);
 
-
 SQUIDCEXTERN const char *getMyHostname(void);
 SQUIDCEXTERN const char *uniqueHostname(void);
 SQUIDCEXTERN void safeunlink(const char *path, int quiet);
@@ -582,7 +569,6 @@ SQUIDCEXTERN void setUmask(mode_t mask);
 SQUIDCEXTERN char *strwordtok(char *buf, char **t);
 SQUIDCEXTERN void strwordquote(MemBuf * mb, const char *str);
 
-
 /*
  * ipc.c
  */
index f9a3446eaa5c6e515b9a7d2e17c11971600d4aa2..9130bb609a3c8fee981e11b01f68093b0052e42c 100644 (file)
@@ -76,7 +76,6 @@ sig_handle(int)
     exit(0);
 }
 
-
 int
 main(int argc, char *argv[])
 {
@@ -93,7 +92,6 @@ main(int argc, char *argv[])
         signal(len, sig_handle);
     }
 
-
     if (argc > 1)
         logfile = argv[1];
     else
@@ -109,7 +107,6 @@ main(int argc, char *argv[])
     close(2);
     dup(1);
 
-
     IPAddress ipa;
     chat tmp[MAX_HOSTNAMELEN];
     for (;;) {
index a0e607cc1b55ac042f78db6fefa99f633956d7b8..b005a45a773cdb7a5a511cbb40eac5681f764636 100644 (file)
@@ -98,7 +98,6 @@ HeapKeyGen_StoreEntry_LFUDA(void *entry, double heap_age)
     return (double) key;
 }
 
-
 /*
  * Key generation function to implement the GDS-Frequency policy.
  * Similar to Greedy Dual-Size Hits policy, but adds aging of
index 4bf1f9185a734f8468ee3eaaa8faf1d4f8955f4a..43ec4f179455de621a4ce4104edcf342b5c2b663 100644 (file)
 #include "snmp/Request.h"
 #include "snmp/Response.h"
 
-
 CBDATA_NAMESPACED_CLASS_INIT(Snmp, Forwarder);
 
-
 Snmp::Forwarder::Forwarder(const Pdu& aPdu, const Session& aSession, int aFd,
                            const Ip::Address& anAddress):
         Ipc::Forwarder(new Request(KidIdentifier, 0, aPdu, aSession, aFd, anAddress), 2),
index aba0b17207c8b80a8bd6a35d1ff656cd38300697..a809fcf06be7b0fa934a3cba892e2de9f2a8fbc5 100644 (file)
@@ -12,7 +12,6 @@
 #include "snmp/Pdu.h"
 #include "snmp/Session.h"
 
-
 class CommCloseCbParams;
 
 namespace Snmp
index 2d2a992bc01e54a5bc2ce627c7d2e719d839074a..d0b377991520c26b925602c0a309ee623abf4dfa 100644 (file)
 #include "snmp/Response.h"
 #include "snmp/Request.h"
 
-
 CBDATA_NAMESPACED_CLASS_INIT(Snmp, Inquirer);
 
-
 Snmp::Inquirer::Inquirer(const Request& aRequest, const Ipc::StrandCoords& coords):
         Ipc::Inquirer(aRequest.clone(), coords, 2),
         aggrPdu(aRequest.pdu)
index e9990a34b3c2a773a50010d36979a4672b1766b3..0dece2157796143be07d81599aa16166d700e740 100644 (file)
@@ -13,7 +13,6 @@
 #include "snmp/forward.h"
 #include "snmp/Pdu.h"
 
-
 class CommCloseCbParams;
 
 namespace Snmp
index b0b37fc33e0e6a6c4f2bf4c2c95d04b73724445a..10d09a8138781b2d6949cc1d7c19091f327880e8 100644 (file)
@@ -16,7 +16,6 @@
 #include <algorithm>
 #endif
 
-
 Snmp::Pdu::Pdu()
 {
     init();
index 01c44e9bb7c633ecc2741ed7ee1a985609024ccf..814b362077efcef5e03a257ba5e30c26cd3f30f6 100644 (file)
@@ -12,7 +12,6 @@
 #include "Range.h"
 #include "snmp.h"
 
-
 namespace Snmp
 {
 
index 4081b77fe838fedf8c6f902895981b4081e034a1..a1ed1da9e04ab3f93a98bc6728a3840f343b4749 100644 (file)
@@ -10,7 +10,6 @@
 #include "ipc/TypedMsgHdr.h"
 #include "snmp/Request.h"
 
-
 Snmp::Request::Request(int aRequestorId, unsigned int aRequestId,
                        const Pdu& aPdu, const Session& aSession,
                        int aFd, const Ip::Address& anAddress):
index f515b0b2aba7aff912c3dfd8513b08b878d09a8d..31ff624eca7d3f38261a86efa6dcd947fbc00b11 100644 (file)
@@ -14,7 +14,6 @@
 #include "snmp/Pdu.h"
 #include "snmp/Session.h"
 
-
 namespace Snmp
 {
 
@@ -40,7 +39,6 @@ public:
     Ip::Address address; ///< client address
 };
 
-
 } // namespace Snmp
 
 #endif /* SQUID_SNMPX_REQUEST_H */
index 2ec5374ae4788e2880367b5b1be5c75a764d578f..f993cd4534cb4121ca2cbaf705a22fe98384567e 100644 (file)
@@ -11,7 +11,6 @@
 #include "ipc/TypedMsgHdr.h"
 #include "snmp/Response.h"
 
-
 std::ostream& Snmp::operator << (std::ostream& os, const Response& response)
 {
     os << "response: {requestId: " << response.requestId << '}';
index 155e0eb58f30cc7b237d464e58cd3db3ed799699..0afb380a0a53dd24c872bbacf10bb97c0d091bbf 100644 (file)
@@ -11,7 +11,6 @@
 #include "protos.h"
 #include "snmp/Session.h"
 
-
 Snmp::Session::Session()
 {
     clear();
index 4e92538eed291de517db240fdc95113c04d5d75a..89a433530bee35d30fe7f74e3a5170c2dfb5e394 100644 (file)
@@ -12,7 +12,6 @@
 #include "snmp.h"
 #include "snmp_session.h"
 
-
 namespace Snmp
 {
 
index f05e6220ac763a5173442256d127a30bc6996c13..93b0cde846fdd939b7775d071aceeba6d9835da4 100644 (file)
@@ -14,7 +14,6 @@
 #include <algorithm>
 #endif
 
-
 Snmp::Var::Var()
 {
     init();
index ab672212f203a3da25da50176f04f72831f1f316..483cf83c48b3e8e34d59c3b36b36bc74af94e2d9 100644 (file)
@@ -12,7 +12,6 @@
 #include "Range.h"
 #include "snmp_vars.h"
 
-
 namespace Snmp
 {
 
index d0ab68419e245dfad4f19c36aa40e3eb62c6bb01..7d6ec81d56772b7b02fc5b403c965c8f4f30fafa 100644 (file)
@@ -194,7 +194,6 @@ snmp_confFn(variable_list * Var, snint * ErrP)
     return Answer;
 }
 
-
 /*
  * cacheMesh group
  *   - cachePeerTable
@@ -224,7 +223,6 @@ snmp_meshPtblFn(variable_list * Var, snint * ErrP)
         return NULL;
     }
 
-
     switch (Var->name[LEN_SQ_MESH + 2]) {
     case MESH_PTBL_INDEX: { // FIXME INET6: Should be visible?
         Answer = snmp_var_new_integer(Var->name, Var->name_length,
@@ -232,7 +230,6 @@ snmp_meshPtblFn(variable_list * Var, snint * ErrP)
     }
     break;
 
-
     case MESH_PTBL_NAME:
         cp = p->host;
         Answer = snmp_var_new(Var->name, Var->name_length);
index b96d624f830fd2b841a7d57c9c501c0ab281a1c8..fa1314555b2c6a682e244409cb89a23b5bee6779 100644 (file)
@@ -643,7 +643,6 @@ snmpTreeNext(oid * Current, snint CurrentLen, oid ** Next, snint * NextLen)
     if (mibTreeEntry == mib_tree_last)
         return (Fn);
 
-
     if ((mibTreeEntry) && (mibTreeEntry->parsefunction)) {
         *NextLen = CurrentLen;
         *Next = (*mibTreeEntry->instancefunction) (Current, NextLen, mibTreeEntry, &Fn);
@@ -742,7 +741,6 @@ time_Inst(oid * name, snint * len, mib_tree_entry * current, oid_ParseFn ** Fn)
     return (instance);
 }
 
-
 static oid *
 peer_Inst(oid * name, snint * len, mib_tree_entry * current, oid_ParseFn ** Fn)
 {
@@ -1003,7 +1001,6 @@ snmpAddNodeStr(const char *base_str, int o, oid_ParseFn * parsefunction, instanc
     return m;
 }
 
-
 /*
  * Adds a node to the MIB tree structure and adds the appropriate children
  */
@@ -1087,8 +1084,6 @@ snmpSnmplibDebug(int lvl, char *buf)
     debugs(49, lvl, buf);
 }
 
-
-
 /*
    IPv4 address: 10.10.0.9  ==>
    oid == 10.10.0.9
index e66047133b1917dd4d5ee3aab6001098457995a2..ce1947b8dc5f6d2d76a6dcef711f64c3378a840d 100644 (file)
@@ -14,7 +14,6 @@
 #define SNMP_REQUEST_SIZE 4096
 #define MAX_PROTOSTAT 5
 
-
 typedef struct _mib_tree_entry mib_tree_entry;
 typedef oid *(instance_Fn) (oid * name, snint * len, mib_tree_entry * current, oid_ParseFn ** Fn);
 typedef enum {atNone = 0, atSum, atAverage, atMax, atMin} AggrType;
index da299df308af16c5044475181ca52d29f0d654b3..af2c5178fbbcba1fe7f9571156d95ce78979ad76 100644 (file)
@@ -87,7 +87,6 @@ void Ssl::ErrorDetailsManager::Shutdown()
     TheDetailsManager = NULL;
 }
 
-
 Ssl::ErrorDetailsManager::ErrorDetailsManager()
 {
     theDefaultErrorDetails = new ErrorDetailsList();
index 334c80f46cf9740a1822d68cc288c082848e2ee9..7e69e8db11c9394503785e634a8d9b5f0a739dc8 100644 (file)
@@ -87,7 +87,6 @@ private:
     static ErrorDetailsManager *TheDetailsManager;
 };
 
-
 void errorDetailInitialize();
 void errorDetailClean();
 } //namespace Ssl
index 13de8021109894c454d3ee15eb2ae1f56c66bc09..e76df7d552828a7fb7edbc8e812cc9f903e4f35f 100644 (file)
 #include "ssl/ServerBump.h"
 #include "Store.h"
 
-
 CBDATA_NAMESPACED_CLASS_INIT(Ssl, ServerBump);
 
-
 Ssl::ServerBump::ServerBump(HttpRequest *fakeRequest, StoreEntry *e):
         request(fakeRequest),
         sslErrors(NULL)
index 3f8069aa07b56296212251c87cfaea1a74f93c35..6bd66d62284ab73698b1b170eecc01f8c3c18652 100644 (file)
@@ -56,7 +56,6 @@ void Ssl::Lock::lock()
 #endif
         throw std::runtime_error("Failed to open file " + filename);
 
-
 #if _SQUID_MSWIN_
     if (!LockFile(hFile, 0, 0, 1, 0))
 #else
index 92f35ea941bda24d5be6aa1449b875e7008be109..6aa01c9ae08f879e605480a470283718033b2e3c 100644 (file)
@@ -88,7 +88,6 @@ private:
     Queue lru_queue; ///< LRU cache index
 };
 
-
 /// Class for storing/manipulating LocalContextStorage per local listening address/port.
 class GlobalContextStorage
 {
index 6576e01237acfc7b94282f663d3b1825c00fbed7..975e02167740a464cc0b186ee0c55b0fd41cf616 100644 (file)
@@ -124,7 +124,6 @@ void Ssl::CrtdMessage::setBody(std::string const & aBody) { body = aBody; }
 
 void Ssl::CrtdMessage::setCode(std::string const & aCode) { code = aCode; }
 
-
 std::string Ssl::CrtdMessage::compose() const
 {
     if (code.empty()) return std::string();
@@ -177,7 +176,6 @@ void Ssl::CrtdMessage::composeBody(CrtdMessage::BodyParams const & map, std::str
         body += '\n' + other_part;
 }
 
-
 bool Ssl::CrtdMessage::parseRequest(Ssl::CertificateProperties &certProperties, std::string &error)
 {
     Ssl::CrtdMessage::BodyParams map;
index 4610a7c40947f2722100c123bfc35f906a5f15ad..c36d5505d1d3f15acc367080641a2afd218911ac 100644 (file)
@@ -603,7 +603,6 @@ bool Ssl::certificateMatchesProperties(X509 *cert, CertificateProperties const &
         return false;
     }
 
-
     char *alStr1;
     int alLen;
     alStr1 = (char *)X509_alias_get0(cert, &alLen);
index 0328701a5b9ec7c2e790d48dacb28ddd9f5dab78..fd6ce209c74af87d64c472303bc01ba1f2c5077b 100644 (file)
@@ -95,7 +95,6 @@ typedef TidyPointer<SSL_CTX, SSL_CTX_free_cpp> SSL_CTX_Pointer;
 CtoCpp1(SSL_free, SSL *)
 typedef TidyPointer<SSL, SSL_free_cpp> SSL_Pointer;
 
-
 /**
  \ingroup SslCrtdSslAPI
  * Create 1024 bits rsa key.
index 3e4244021e404b30cedbdb73f16470b8bffbd0d3..551b75698110532dd8e5b7cb5d6be7d659868e8c 100644 (file)
@@ -1245,7 +1245,6 @@ sslGetUserCertificatePEM(SSL *ssl)
 
     PEM_write_bio_X509(mem, cert);
 
-
     len = BIO_get_mem_data(mem, &ptr);
 
     str = (char *)xmalloc(len + 1);
index 76a437d19a01f7d67832fc99663eb8511b114fc3..3068b03abaaf34f75ed3d1e0bea10314dccdc84c 100644 (file)
@@ -88,7 +88,6 @@ int ssl_write_method(int, const char *, int);
 /// \ingroup ServerProtocolSSLAPI
 void ssl_shutdown_method(SSL *ssl);
 
-
 /// \ingroup ServerProtocolSSLAPI
 const char *sslGetUserEmail(SSL *ssl);
 
index b6f63e3062aab07e728e9b7eb912582eb917dd01..c089907c650b9dc5cca788df6a6684b53a6c30cd 100644 (file)
@@ -91,7 +91,6 @@ private:
     CBDATA_CLASS2(StatObjectsState);
 };
 
-
 /* LOCALS */
 static const char *describeStatuses(const StoreEntry *);
 static const char *describeTimestamps(const StoreEntry *);
@@ -1380,7 +1379,6 @@ statRegisterWithCacheManager(void)
 #endif
 }
 
-
 void
 statInit(void)
 {
index d277df270cce3344a98e7de8148f98d57b69e15c..7ff02f3329712b5dc41989a5a7eeb4589ef4efcb 100644 (file)
@@ -362,7 +362,6 @@ mem_hdr::nodeToRecieve(int64_t offset)
     return candidate;
 }
 
-
 bool
 mem_hdr::write (StoreIOBuffer const &writeBuffer)
 {
index fdbead6f35fcca4d06f87822ed3b1c2e8f706d8f..399abc6b7a270fe1f71fe7f271854c41022eac23 100644 (file)
@@ -71,7 +71,6 @@ static STMCB storeWriteComplete;
 
 #define STORE_IN_MEM_BUCKETS            (229)
 
-
 /** \todo Convert these string constants to enum string-arrays generated */
 
 const char *memStatusStr[] = {
@@ -96,7 +95,6 @@ const char *swapStatusStr[] = {
     "SWAPOUT_DONE"
 };
 
-
 /*
  * This defines an repl type
  */
@@ -110,7 +108,6 @@ struct _storerepl_entry {
 
 static storerepl_entry_t *storerepl_list = NULL;
 
-
 /*
  * local function prototypes
  */
@@ -493,7 +490,6 @@ StoreEntry::hashDelete()
 
 /* -------------------------------------------------------------------------- */
 
-
 /* get rid of memory copy of the object */
 void
 StoreEntry::purgeMem()
@@ -903,7 +899,6 @@ StoreEntry::append(char const *buf, int len)
     write(tempBuffer);
 }
 
-
 void
 storeAppendPrintf(StoreEntry * e, const char *fmt,...)
 {
@@ -1206,7 +1201,6 @@ storeGetMemSpace(int size)
     PROF_stop(storeGetMemSpace);
 }
 
-
 /* thunk through to Store::Root().maintain(). Note that this would be better still
  * if registered against the root store itself, but that requires more complex
  * update logic - bigger fish to fry first. Long term each store when
@@ -1825,7 +1819,6 @@ storeSwapFileNumberSet(StoreEntry * e, sfileno filn)
 
 #endif
 
-
 /*
  * Replace a store entry with
  * a new reply. This eats the reply.
@@ -1846,7 +1839,6 @@ StoreEntry::replaceHttpReply(HttpReply *rep, bool andStartWriting)
         startWriting();
 }
 
-
 void
 StoreEntry::startWriting()
 {
@@ -1871,7 +1863,6 @@ StoreEntry::startWriting()
     packerClean(&p);
 }
 
-
 char const *
 StoreEntry::getSerialisedMetaData()
 {
index 141e928adc3da0a212999a4f73164ace7c09774c..97311b67b986431afc5826fee3e793aae1a58596 100644 (file)
@@ -33,7 +33,6 @@
  *
  */
 
-
 /*
  * TODO: We probably do not track all the cases when
  *       storeDigestNoteStoreReady() must be called; this may prevent
@@ -77,7 +76,6 @@ public:
     int rewrite_count;
 };
 
-
 typedef struct {
     int del_count;             /* #store entries deleted from store_digest */
     int del_lost_count;                /* #store entries not found in store_digest on delete */
@@ -375,7 +373,6 @@ storeDigestRebuildStep(void *datanotused)
         eventAdd("storeDigestRebuildStep", storeDigestRebuildStep, NULL, 0.0, 1);
 }
 
-
 /* starts swap out sequence for the digest */
 static void
 storeDigestRewriteStart(void *datanotused)
index 46919af47e23ce0d7f611467153c58e5b4c43402..303966258d5b541bd5455e1ca81a4448f1250481 100644 (file)
@@ -70,7 +70,6 @@
 #include <errno.h>
 #endif
 
-
 static STDIRSELECT storeDirSelectSwapDirRoundRobin;
 static STDIRSELECT storeDirSelectSwapDirLeastLoad;
 
@@ -194,7 +193,6 @@ SwapDir::objectSizeIsAcceptable(int64_t objsize) const
         return min_objsize <= objsize && max_objsize > objsize;
 }
 
-
 /*
  * This new selection scheme simply does round-robin on all SwapDirs.
  * A SwapDir is skipped if it is over the max_size (100%) limit, or
@@ -523,7 +521,6 @@ storeDirWriteCleanLogs(int reopen)
     debugs(20, DBG_IMPORTANT, "  Took "<< std::setw(3)<< std::setprecision(2) << dt <<
            " seconds ("<< std::setw(6) << ((double) n / (dt > 0.0 ? dt : 1.0)) << " entries/sec).");
 
-
     return n;
 }
 
index 98a9d0efddb26f3b5a98ad54a65798c8a4b8bbb2..53ad2818fee35bb992483337d0388784995feacb 100644 (file)
@@ -94,7 +94,6 @@ storeSwapMetaBuild(StoreEntry * e)
         return NULL;
     }
 
-
     if (objsize >= 0) {
         T = StoreMeta::Add(T, t);
         t = StoreMeta::Factory(STORE_META_OBJSIZE, sizeof(objsize), &objsize);
index 25a4c4c5e0ae1babda95ccf9a860a0e301a98799..51eea6ed568ecb57a00e1e93eddd082b66801d33 100644 (file)
@@ -179,7 +179,6 @@ doPages(StoreEntry *anEntry)
     } while (true);
 }
 
-
 /* This routine is called every time data is sent to the client side.
  * It's overhead is therefor, significant.
  */
index 672fcee0e3fa2f6048151dea122690fb887f4fe8..c97e028d25180cff2c4ab35a6003eb5b7da3d31c 100644 (file)
@@ -695,7 +695,6 @@ struct _fde_disk {
     off_t offset;
 };
 
-
 /* per field statistics */
 
 class HttpHeaderFieldStat
@@ -962,7 +961,6 @@ struct _iostats {
     Http, Ftp, Gopher;
 };
 
-
 struct request_flags {
     request_flags(): range(0),nocache(0),ims(0),auth(0),cachable(0),hierarchical(0),loopdetect(0),proxy_keepalive(0),proxying(0),refresh(0),redirected(0),need_validation(0),fail_on_validation_err(0),stale_if_hit(0),accelerated(0),ignore_cc(0),intercepted(0),hostVerified(0),spoof_client_ip(0),internal(0),internalclient(0),must_keepalive(0),pinned(0),canRePin(0),chunked_reply(0),stream_error(0),sslPeek(0),sslBumped(0),destinationIPLookedUp_(0) {
 #if USE_HTTP_VIOLATIONS
@@ -1071,7 +1069,6 @@ struct _refresh_t {
     int max_stale;
 };
 
-
 struct _CacheDigest {
     /* public, read-only */
     char *mask;                        /* bit mask */
@@ -1082,7 +1079,6 @@ struct _CacheDigest {
     int del_count;             /* number of deletions performed so far */
 };
 
-
 struct _store_rebuild_data {
     int objcount;              /* # objects successfully reloaded */
     int expcount;              /* # objects expired */
index 017ef0db598fd6d37898ded96515c911f93214fe..479d4503a1f5037181c9ada5919b5a1cbb890ffe 100644 (file)
@@ -64,7 +64,6 @@ struct _Cache {
     int bad_del_count;         /* #dels with no prior add */
 };
 
-
 typedef struct _CacheEntry {
     const cache_key *key;
 
@@ -241,7 +240,6 @@ cacheEntryDestroy(CacheEntry * e)
     xfree(e);
 }
 
-
 /* Cache */
 
 static Cache *
@@ -502,7 +500,6 @@ accessLogReader(FileIterator * fi)
     return frOk;
 }
 
-
 static void
 cachePurge(Cache * cache, storeSwapLogData * s, int update_digest)
 {
index 368bdb5db24e613406f72bd494464b57dba54e58..6ff76982e38576a4a865ee4ec753d93479a5f2fb 100644 (file)
@@ -36,7 +36,6 @@
 /// Intended for registration pattern APIs where the function result does not matter to the test
 #define STUB_RETVAL_NOP(x) { std::cerr<<"SKIP: "<<STUB_API<<" "<<__FUNCTION__<<" (not implemented).\n"; return x; }
 
-
 /** macro to stub a function which returns a reference to dynamic
  *  Aborts unit tests requiring its definition with a message about the missing linkage
  *  This macro uses 'new x' to construct a stack vailable for the reference, may leak.
index 58cd1dc203125d96b435bccc4f8c5f5edabaec4d..9278c69930aa67acd0cdfa87dccea98a15f95a0f 100644 (file)
@@ -4,5 +4,4 @@
 #define STUB_API "stub_libformat.cc"
 #include "tests/STUB.h"
 
-
 void Format::Format::assemble(MemBuf &mb, const AccessLogEntryPointer &al, int logSequenceNumber) const STUB
index 97d2029c185f2e3ae02bf1fd41c2857e96a6c30a..cb4c0c69cef9b4527f67d1a41e57aa92e08d3530 100644 (file)
@@ -9,7 +9,6 @@
 #define STUB_API "ssl/libsslsquid.la"
 #include "tests/STUB.h"
 
-
 #include "ssl/Config.h"
 Ssl::Config::Config() { printf("Ssl::Config::Config No implemented\n"); }
 Ssl::Config::~Config() { printf("Ssl::Config::Config No implemented\n"); }
index 0be956e7ab7c93a082b3b072b884e7d67c5d3b1f..136debf5d88eb300f19818f1ac7b64a341af6b35 100644 (file)
@@ -9,7 +9,6 @@ void StoreController::maintain() STUB
 #include "RemovalPolicy.h"
 RemovalPolicy * createRemovalPolicy(RemovalPolicySettings * settings) STUB_RETVAL(NULL)
 
-
 #include "Store.h"
 StorePointer Store::CurrentRoot = NULL;
 StoreIoStats store_io_stats;
index 6a77145ce556a556401dfea046d34778fec40913..e58619563ef65a9bcf0397ef529cdf1011a1daae 100644 (file)
@@ -9,7 +9,6 @@
 /* XXX: wrong stub file... */
 void storeUnlink(StoreEntry * e) STUB
 
-
 char *storeSwapMetaPack(tlv * tlv_list, int *length) STUB_RETVAL(NULL)
 tlv *storeSwapMetaBuild(StoreEntry * e) STUB_RETVAL(NULL)
 void storeSwapTLVFree(tlv * n) STUB
index b7be6ec6c20b7fc995e6ca2ee1a8c71de44363f4..db34cad0e3f3e948af945a437c03aebea8b76978 100644 (file)
@@ -13,7 +13,6 @@
 
 CPPUNIT_TEST_SUITE_REGISTRATION( testACLMaxUserIP );
 
-
 void
 testACLMaxUserIP::testDefaults()
 {
@@ -26,7 +25,6 @@ testACLMaxUserIP::testDefaults()
     CPPUNIT_ASSERT(!anACL.valid());
 }
 
-
 void
 testACLMaxUserIP::testParseLine()
 {
index 8d7d2d39cd20d8517dba99be0ce9dcef7ab27bd7..8e48ee87e11babedf380ecb09315efd4213e8074 100644 (file)
@@ -9,7 +9,6 @@
 
 CPPUNIT_TEST_SUITE_REGISTRATION( testBoilerplate );
 
-
 void
 testBoilerplate::testDemonstration()
 {
index ad0fdb9fb67a0c16d2ad96184a3ab917932bae16..521dc9d5be2fd3f473baa5b97dd66d5c71047605 100644 (file)
@@ -10,7 +10,6 @@
 #include "protos.h"
 #include "testEvent.h"
 
-
 CPPUNIT_TEST_SUITE_REGISTRATION( testEvent );
 
 /* init legacy static-initialized modules */
@@ -31,7 +30,6 @@ testEvent::testCreate()
     EventScheduler scheduler = EventScheduler();
 }
 
-
 /* Helper for tests - an event which records the number of calls it received. */
 
 struct CalledEvent {
index 8e00b728e6b9590e6934ae35bc3872d78e30f587..33ebc46a02516a009ff467f2d0c0502e1f8511ee 100644 (file)
@@ -9,7 +9,6 @@
 #include "MemBuf.h"
 #include "structs.h"
 
-
 CPPUNIT_TEST_SUITE_REGISTRATION( testHttpParser );
 
 void
index 8197634aad12aebb4baff58a9414ad0c01a884c5..9eb0c8fa2bf5be2046f2d2edc1ac55e2b89b335c 100644 (file)
@@ -8,7 +8,6 @@
 #include "Mem.h"
 #include "protos.h"
 
-
 CPPUNIT_TEST_SUITE_REGISTRATION( testHttpRequest );
 
 /** wrapper for testing HttpRequest object private and protected functions */
index 57c4e819c8b43e6d15d1b7796d26d571a611d57a..a771be0a1c02689d48b8782850e62c2b705fc800 100644 (file)
@@ -13,7 +13,6 @@
 
 CPPUNIT_TEST_SUITE_REGISTRATION( testHttpRequestMethod );
 
-
 /*
  * We should be able to make an HttpRequestMethod straight from a string.
  */
index 8e037686610a0d802ddd7aa4c3354a425999d7fb..b8125bf4ae65c764abbcf9e9fe851c4a89bf3939 100644 (file)
@@ -32,8 +32,6 @@ InspectingStatHist::operator ==(const InspectingStatHist & src)
     return (memcmp(bins,src.bins,capacity_*sizeof(*bins))==0);
 }
 
-
-
 void
 testStatHist::testStatHistBaseEquality()
 {
@@ -57,7 +55,6 @@ testStatHist::testStatHistBaseAssignment()
     CPPUNIT_ASSERT(raw==test);
 }
 
-
 void
 testStatHist::testStatHistLog()
 {
index 8a3af1a03254bda0b7aef61986321bbdede84ce3..9572c8dd316aa832398d06207844057c8e5cb217 100644 (file)
@@ -7,7 +7,6 @@
 
 #include <cppunit/extensions/HelperMacros.h>
 
-
 class testStatHist : public CPPUNIT_NS::TestFixture
 {
     CPPUNIT_TEST_SUITE( testStatHist );
index c0a2ee602c975f329eb9ebff1afcac33c9a2e038..064617eca253b8763efc59b627ab2d4335e94f54 100644 (file)
@@ -6,7 +6,6 @@
 
 #include <cppunit/extensions/HelperMacros.h>
 
-
 /*
  * test the store framework
  */
@@ -29,7 +28,6 @@ protected:
     void testMaxSize();
 };
 
-
 /* subclass of Store to allow testing of methods without having all the
  * other components live
  */
@@ -75,6 +73,5 @@ public:
 
 typedef RefCount<TestStore> TestStorePointer;
 
-
 #endif
 
index 5ee8b6d54d733dae0e4c1091b63e1a129f97857e..a7d53229d19c854ca7cc37ff7e30577b7791aa6b 100644 (file)
@@ -19,7 +19,6 @@ addSwapDir(TestSwapDirPointer aStore)
     ++Config.cacheSwap.n_configured;
 }
 
-
 void
 testStoreController::testStats()
 {
index a6ed69f848399e3e20b6377c4db6a6f1a937afce..daae502a04f0ec12c8f2e2a937cdd811504ad33d 100644 (file)
@@ -20,7 +20,6 @@ addSwapDir(TestSwapDirPointer aStore)
     ++Config.cacheSwap.n_configured;
 }
 
-
 void
 testStoreHashIndex::testStats()
 {
index ee49d08571dc8c35a3816e530d986039d672c98f..b4709f90e880caadc045922b18af1bc21476c760 100644 (file)
@@ -15,7 +15,6 @@
 
 CPPUNIT_TEST_SUITE_REGISTRATION( testURLScheme );
 
-
 #if 0
 /*
  * We should be able to make an HttpRequestMethod straight from a string.
index 7ee0e7490223e273346c4e5802b241e97a903b48..4642e32d5493864272802bb914404a1916e5b699 100644 (file)
@@ -101,7 +101,6 @@ testUfs::testUfsSearch()
     commonInit();
     mem_policy = createRemovalPolicy(Config.replPolicy);
 
-
     char *path=xstrdup(TESTDIR);
 
     char *config_line=xstrdup("foo 100 1 1");
index 3bea878a804e9eb50337f6ce3f257cd9230cc882..a4f358cd0e5c9e6c66b0e048be8912cee599498f 100644 (file)
@@ -311,7 +311,6 @@ rusage_pagefaults(struct rusage *r)
 #endif
 }
 
-
 void
 PrintRusage(void)
 {
@@ -328,7 +327,6 @@ PrintRusage(void)
             rusage_pagefaults(&rusage));
 }
 
-
 void
 death(int sig)
 {
@@ -513,7 +511,6 @@ fatalf(const char *fmt,...)
     va_end(args);
 }
 
-
 /* used by fatalf */
 static void
 fatalvf(const char *fmt, va_list args)
@@ -934,7 +931,6 @@ writePidFile(void)
     file_close(fd);
 }
 
-
 pid_t
 readPidFile(void)
 {
index 547eec19ec6b26601d011c40fe71a12a7adcca18..6ac1bfab72eebcc82299d6ec15f7ac62ae694f2a 100644 (file)
@@ -559,7 +559,6 @@ tunnelErrorComplete(int fd/*const Comm::ConnectionPointer &*/, void *data, size_
     cbdataInternalUnlock(tunnelState);
 }
 
-
 static void
 tunnelConnectDone(const Comm::ConnectionPointer &conn, comm_err_t status, int xerrno, void *data)
 {
index 46c416e3a89361e7cf29d70877509ddee9e2bdb4..c4b1b5c05346abad92f0719b6912941be49fb669 100644 (file)
@@ -189,7 +189,6 @@ main(int argc, char *argv[])
 
         for_each(*metadata, dumper);
 
-
         return 0;
     } catch (std::runtime_error error) {
         std::cout << "Failed : " << error.what() << std::endl;
index 06be990ab68cedfd4cd80716018a51d5f0f951df..a715bb1821e15d9013b15ac6df1d17bc18ba6cdf 100644 (file)
@@ -626,7 +626,6 @@ urlCanonicalFakeHttps(const HttpRequest * request)
     return urlCanonicalClean(request);
 }
 
-
 /*
  * Test if a URL is relative.
  *
@@ -823,7 +822,6 @@ matchDomainName(const char *h, const char *d)
     return (xtolower(h[hl]) - xtolower(d[dl]));
 }
 
-
 /*
  * return true if we can serve requests for this method.
  */
index e72cd09932c585199de1aab785721f7299bdaba2..f3f1a98eff8c664a55201757bf43b2aa9494b9f4 100644 (file)
@@ -64,7 +64,6 @@ public:
 
     virtual ~UrnState();
 
-
     StoreEntry *entry;
     store_client *sc;
     StoreEntry *urlres_e;
index 826af323d28dedbbf3e20635a8cdf865447ff9d3..7b478f75b96eabdf31ab1855843d9f19ce2deb6b 100644 (file)
@@ -41,7 +41,6 @@
 #include "event.h"
 #include "structs.h"
 
-
 #define WCCP_PORT 2048
 #define WCCP_REVISION 0
 #define WCCP_ACTIVE_CACHES 32
@@ -164,7 +163,6 @@ wccpConnectionOpen(void)
 
     debugs(80, DBG_IMPORTANT, "Accepting WCCPv1 messages on " << Config.Wccp.address << ", FD " << theWccpConnection << ".");
 
-
     // Sadly WCCP only does IPv4
 
     struct sockaddr_in router;
@@ -181,7 +179,6 @@ wccpConnectionOpen(void)
     local_ip = local;
 }
 
-
 void
 wccpConnectionClose(void)
 {
index 45d0653b67ba88390efa1830749df0711edc0bfd..bb10f1bdc35e1d8fe4b30a73d9cbf62181d1acab 100644 (file)
@@ -73,11 +73,9 @@ static EVH wccp2AssignBuckets;
 #define        WCCP2_NUMPORTS  8
 #define        WCCP2_PASSWORD_LEN      8
 
-
 /* WCCPv2 Pakcet format structures */
 /* Defined in draft-wilson-wccp-v2-12-oct-2001.txt */
 
-
 /** \interface WCCPv2_Protocol
  * Generic header struct
  */
@@ -100,8 +98,6 @@ struct wccp2_item_header_t {
 #define WCCP2_ASSIGN_MAP               14
 #define WCCP2_COMMAND_EXTENSION                15
 
-
-
 /** \interface WCCPv2_Protocol
  * Sect 5.5  WCCP Message Header
  */
@@ -120,7 +116,6 @@ static struct wccp2_message_header_t wccp2_here_i_am_header;
 #define WCCP2_REDIRECT_ASSIGN     12
 #define WCCP2_REMOVAL_QUERY       13
 
-
 /** \interface WCCPv2_Protocol
  * Sect 5.6.1 Security Info Component
  *
@@ -136,7 +131,6 @@ struct wccp2_security_none_t {
 #define WCCP2_NO_SECURITY              0
 #define WCCP2_MD5_SECURITY             1
 
-
 /** \interface WCCPv2_Protocol
  * Sect 5.6.1 Security Info Component
  *
@@ -191,7 +185,6 @@ struct wccp2_service_info_t {
 #define WCCP2_SERVICE_SRC_PORT_ALT_HASH        0x400
 #define WCCP2_SERVICE_DST_PORT_ALT_HASH        0x800
 
-
 /* TODO the following structures need to be re-defined for correct full operation.
  wccp2_cache_identity_element needs to be merged as a sub-struct of
  wccp2_identity_info_t (identity_type);  which frees up the identifty info
@@ -237,7 +230,6 @@ struct wccp2_mask_element_t {
     uint32_t number_values;
 };
 
-
 /** \interface WCCPv2_Protocol
  * Sect 5.7.2 Web-Cache Identity Element
  */
@@ -349,8 +341,6 @@ static struct wccp2_capability_element_t wccp2_capability_element;
 #define WCCP2_PACKET_RETURN_METHOD_GRE WCCP2_METHOD_GRE
 #define WCCP2_PACKET_RETURN_METHOD_L2  WCCP2_METHOD_L2
 
-
-
 /** \interface WCCPv2_Protocol
  * 5.7.8 Value Element
  */
@@ -627,7 +617,6 @@ wccp2_update_md5_security(char *password, char *ptr, char *packet, int len)
     return 1;
 }
 
-
 /*
  * Check the given WCCP2 packet against the given password.
  */
@@ -680,7 +669,6 @@ wccp2_check_security(struct wccp2_service_list_t *srv, char *security, char *pac
     return (memcmp(md5_digest, md5_challenge, 16) == 0);
 }
 
-
 void
 wccp2Init(void)
 {
@@ -2006,7 +1994,6 @@ wccp2AssignBuckets(void *voidnotused)
     }
 }
 
-
 /*
  * Configuration option parsing code
  */
index 1b18c8ed9461d170901307a60f664456f8b39193..6a80b6e92095b4953a6991c0b3f764c63fe906ac 100644 (file)
@@ -49,7 +49,6 @@ SQUIDCEXTERN LPCRITICAL_SECTION dbg_mutex;
 void WIN32_ExceptionHandlerCleanup(void);
 static LPTOP_LEVEL_EXCEPTION_FILTER Win32_Old_ExceptionHandler = NULL;
 
-
 int WIN32_pipe(int handles[2])
 {
     int new_socket;
@@ -195,7 +194,6 @@ LONG CALLBACK WIN32_ExceptionHandler(EXCEPTION_POINTERS* ep)
     return EXCEPTION_CONTINUE_SEARCH;
 }
 
-
 void WIN32_ExceptionHandlerInit()
 {
 #if !defined(_DEBUG)
index e11d118e95f21d69ab23b080ac4c470f7f939d90..07e95b48a685797ffd0788bfa2d1d5592ca132ef 100644 (file)
@@ -347,7 +347,6 @@ hash_get_bucket(hash_table * hid, unsigned int bucket)
     return (hid->buckets[bucket]);
 }
 
-
 void
 hashFreeMemory(hash_table * hid)
 {
@@ -357,7 +356,6 @@ hashFreeMemory(hash_table * hid)
         free(hid);
 }
 
-
 #if USE_HASH_DRIVER
 /*
  *  hash-driver - Run with a big file as stdin to insert each line into the
@@ -411,7 +409,6 @@ main(void)
     }
     printf("done walking hash table...\n");
 
-
     printf("driver finished.\n");
     exit(0);
 }
index 7dbf65c5cc29d27ce9da287c2075663a7c562097..aed81722109ec7b2a0367106c1c3b3a8cccd675c 100644 (file)
@@ -95,7 +95,6 @@ time_t *t;
     return buf;
 }
 
-
 char *
 mime_headers_end(const char *mime)
 {
index 63d0094f09fe2170c1a5b4b94e71354e054c380e..b15eea4244c84c5010c096a4a5ed7f8487d2f234 100644 (file)
@@ -126,7 +126,6 @@ struct _f FD[SQUID_MAXFD];
 int nfds = 0;
 int maxfd = 0;
 
-
 static void
 free_request(struct _request *r)
 {
index 33c69a5e2942e21dbebd321ec8bacee30d56086e..1fec98e47a44a575f0b992b482712c900582208a 100644 (file)
@@ -368,7 +368,6 @@ sig_child(int sig)
     signal(sig, sig_child);
 }
 
-
 int
 main(int argc, char *argv[])
 {
index 020103f3ec727de8487417388205897d408fcd4d..e0c1a8fddaee689bcffc5ec73606eba794b8dc75 100644 (file)
@@ -119,7 +119,6 @@ extern "C" {
 }
 #endif
 
-
 #ifndef DEFAULT_CACHEMGR_CONFIG
 #define DEFAULT_CACHEMGR_CONFIG "/etc/squid/cachemgr.conf"
 #endif
@@ -325,7 +324,6 @@ auth_html(const char *host, int port, const char *user_name)
 
     printf("<TABLE BORDER=\"0\" CELLPADDING=\"10\" CELLSPACING=\"1\">\n");
 
-
     if (fp != NULL) {
         int servers = 0;
         char config_line[BUFSIZ];
@@ -1068,7 +1066,6 @@ read_request(void)
     return req;
 }
 
-
 /* Routines to support authentication */
 
 /*
index 20bac0a7969ea0084477c0e1449c2972ec159186..97cf57f1a2530617778f7bc666e9fbf2b8fcd405 100644 (file)
@@ -120,7 +120,6 @@ setSocketNoDelay( int sockfd, bool nodelay )
         return 0;
 }
 
-
 int
 commonCode( int& sockfd, bool nodelay, int sendBufferSize, int recvBufferSize )
 // purpose: common code in server sockets and client sockets
index f75dceb4e43d326ce6b3fb8f97d7c08876bfa6c0..befc742a6a80bd952b346e8196008c08b0ab3808 100644 (file)
@@ -134,7 +134,6 @@ static void set_our_signal(void);
 static ssize_t myread(int fd, void *buf, size_t len);
 static ssize_t mywrite(int fd, void *buf, size_t len);
 
-
 #if HAVE_GSSAPI
 static int check_gss_err(OM_uint32 major_status, OM_uint32 minor_status, const char *function);
 static char *GSSAPI_token(const char *server);