From: wessels <> Date: Thu, 18 Apr 1996 03:03:14 +0000 (+0000) Subject: gindent X-Git-Tag: SQUID_3_0_PRE1~6114 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ff150152f2058c67318d91438095a77ab4ba58c;p=thirdparty%2Fsquid.git gindent --- diff --git a/src/http.cc b/src/http.cc index ed4d2f7f74..cb981cbd9e 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,4 +1,4 @@ -/* $Id: http.cc,v 1.55 1996/04/17 20:58:48 wessels Exp $ */ +/* $Id: http.cc,v 1.56 1996/04/17 21:03:14 wessels Exp $ */ /* * DEBUG: Section 11 http: HTTP @@ -526,7 +526,6 @@ int proxyhttpStart(e, url, entry) squid_error_entry(entry, ERR_NO_FDS, xstrerror()); return COMM_ERROR; } - data = (HttpData *) xcalloc(1, sizeof(HttpData)); data->entry = entry; data->req_hdr = entry->mem_obj->mime_hdr; @@ -601,7 +600,6 @@ int httpStart(unusedfd, url, request, req_hdr, entry) squid_error_entry(entry, ERR_NO_FDS, xstrerror()); return COMM_ERROR; } - data = (HttpData *) xcalloc(1, sizeof(HttpData)); data->entry = entry; data->req_hdr = req_hdr; diff --git a/src/store.cc b/src/store.cc index daaf15a2bf..1343f8c41f 100644 --- a/src/store.cc +++ b/src/store.cc @@ -1,6 +1,6 @@ -/* $Id: store.cc,v 1.59 1996/04/17 20:59:32 wessels Exp $ */ -#ident "$Id: store.cc,v 1.59 1996/04/17 20:59:32 wessels Exp $" +/* $Id: store.cc,v 1.60 1996/04/17 21:03:15 wessels Exp $ */ +#ident "$Id: store.cc,v 1.60 1996/04/17 21:03:15 wessels Exp $" /* * DEBUG: Section 20 store @@ -1399,7 +1399,7 @@ static void storeRebuiltFromDisk(data) sprintf(tmp_filename, "%s.new", swaplog_file); if (rename(tmp_filename, swaplog_file) < 0) { debug(20, 0, "storeRebuiltFromDisk: %s,%s: %s\n", - tmp_filename, swaplog_file, xstrerror()); + tmp_filename, swaplog_file, xstrerror()); fatal_dump("storeRebuiltFromDisk: rename failed"); } if (file_write_unlock(swaplog_fd, swaplog_lock) != DISK_OK)