int parse_app_community_string();
void snmp_synch_setup();
int snmp_synch_response();
-void md5Digest(u_char *msg, int length, u_char *key, u_char *digest);
+void md5Digest(u_char * msg, int length, u_char * key, u_char * digest);
#if NO_PRINTFS
static char *
lh = ntohl(addr.s_addr);
debug(53, 4) ("asnMatchIp: Called for %s.\n", inet_ntoa(addr));
- if (AS_tree_head == 0 || &addr==&no_addr)
+ if (AS_tree_head == 0 || &addr == &no_addr)
return 0;
store_m_int(lh, m_addr);
rn = rn_match(m_addr, AS_tree_head);
/*
- * $Id: client_side.cc,v 1.185 1998/01/01 19:29:17 wessels Exp $
+ * $Id: client_side.cc,v 1.186 1998/01/02 02:06:03 wessels Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
* Set the timeout BEFORE calling clientReadRequest().
*/
commSetTimeout(fd, 15, requestTimeout, conn);
- clientReadRequest(fd, conn); /* Read next request */
+ clientReadRequest(fd, conn); /* Read next request */
/*
* Note, the FD may be closed at this point.
*/
debug(50, 2) ("clientReadRequest: FD %d: %s\n", fd, xstrerror());
comm_close(fd);
return;
- } else if(conn->in.offset == 0) {
+ } else if (conn->in.offset == 0) {
debug(50, 2) ("clientReadRequest: FD %d: no data to process\n");
return;
}
/* Continue to process previously read data */
- size=0;
+ size = 0;
}
conn->in.offset += size;
conn->in.buf[conn->in.offset] = '\0'; /* Terminate the string */
if (nrequests >= 2) {
debug(12, 2) ("clientReadRequest: FD %d max concurrent requests reached\n", fd);
debug(12, 5) ("clientReadRequest: FD %d defering new request until one is done\n", fd);
- conn->defer.until = squid_curtime + 100; /* Reset when a request is complete */
+ conn->defer.until = squid_curtime + 100; /* Reset when a request is complete */
break;
}
/* Process request */
* data to the beginning
*/
if (conn->in.offset > 0)
- memmove(conn->in.buf, conn->in.buf + http->req_sz, conn->in.size);
+ memmove(conn->in.buf, conn->in.buf + http->req_sz, conn->in.size);
/* add to the client request queue */
for (H = &conn->chr; *H; H = &(*H)->next);
*H = http;