/*
- * $Id: acl.cc,v 1.166 1998/05/30 19:43:00 rousskov Exp $
+ * $Id: acl.cc,v 1.167 1998/06/03 20:48:18 rousskov Exp $
*
* DEBUG: section 28 Access Control
* AUTHOR: Duane Wessels
char buf[24];
while (data != NULL) {
wordlist *w = xcalloc(1, sizeof(wordlist));
- xsnprintf(buf, sizeof(buf), "%02x:%02x:02x:02x:02x:02x",
+ snprintf(buf, sizeof(buf), "%02x:%02x:02x:02x:02x:02x",
data->eth[0], data->eth[1], data->eth[2], data->eth[3],
data->eth[4], data->eth[5]);
w->key = xstrdup(buf);
/*
- * $Id: mime.cc,v 1.67 1998/05/30 19:43:15 rousskov Exp $
+ * $Id: mime.cc,v 1.68 1998/06/03 20:48:19 rousskov Exp $
*
* DEBUG: section 25 MIME Parsing
* AUTHOR: Harvest Derived
expiretime = ttl ? t + ttl : 0;
date[0] = expires[0] = last_modified[0] = '\0';
content_length[0] = result[0] = '\0';
- xsnprintf(date, 100, "Date: %s\r\n", mkrfc1123(t));
+ snprintf(date, 100, "Date: %s\r\n", mkrfc1123(t));
if (ttl >= 0)
snprintf(expires, 100, "Expires: %s\r\n", mkrfc1123(expiretime));
if (lmt)
/*
- * $Id: tools.cc,v 1.156 1998/06/02 04:12:33 wessels Exp $
+ * $Id: tools.cc,v 1.157 1998/06/03 20:48:21 rousskov Exp $
*
* DEBUG: section 21 Misc Functions
* AUTHOR: Harvest Derived
if (rl.rlim_cur > rl.rlim_max)
Squid_MaxFD = rl.rlim_cur = rl.rlim_max;
if (setrlimit(RLIMIT_OFILE, &rl) < 0) {
- xsnprintf(tmp_error_buf, ERROR_BUF_SZ,
+ snprintf(tmp_error_buf, ERROR_BUF_SZ,
"setrlimit: RLIMIT_OFILE: %s", xstrerror());
fatal_dump(tmp_error_buf);
}