summaryrefslogtreecommitdiff
path: root/cgi-bin
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2012-10-25 20:59:55 +0200
committerDidier Raboud <odyx@debian.org>2012-10-25 20:59:55 +0200
commit4ddc0bb6de85d409501de745bf1d3df896b15c02 (patch)
treec7e58d51dea8204643efeca33bef67f6cbf162d5 /cgi-bin
parent49a2853988b074d087e82c51aec4f9fc052a057d (diff)
downloadcups-4ddc0bb6de85d409501de745bf1d3df896b15c02.tar.gz
Imported Upstream version 1.5.2upstream/1.5.2
Diffstat (limited to 'cgi-bin')
-rw-r--r--cgi-bin/admin.c4
-rw-r--r--cgi-bin/var.c14
2 files changed, 9 insertions, 9 deletions
diff --git a/cgi-bin/admin.c b/cgi-bin/admin.c
index b539900f..a695c618 100644
--- a/cgi-bin/admin.c
+++ b/cgi-bin/admin.c
@@ -1,5 +1,5 @@
/*
- * "$Id: admin.c 9793 2011-05-20 03:49:49Z mike $"
+ * "$Id: admin.c 9901 2011-08-17 21:01:53Z mike $"
*
* Administration CGI for CUPS.
*
@@ -4337,5 +4337,5 @@ get_points(double number, /* I - Original number */
/*
- * End of "$Id: admin.c 9793 2011-05-20 03:49:49Z mike $".
+ * End of "$Id: admin.c 9901 2011-08-17 21:01:53Z mike $".
*/
diff --git a/cgi-bin/var.c b/cgi-bin/var.c
index 136832a5..4c257d9d 100644
--- a/cgi-bin/var.c
+++ b/cgi-bin/var.c
@@ -1,5 +1,5 @@
/*
- * "$Id: var.c 9793 2011-05-20 03:49:49Z mike $"
+ * "$Id: var.c 9949 2011-08-31 04:58:33Z mike $"
*
* CGI form variable and array functions for CUPS.
*
@@ -452,19 +452,19 @@ cgiSetCookie(const char *name, /* I - Name */
printf("Set-Cookie: %s=%s;", name, value);
if (path)
- printf("; path=%s", path);
+ printf(" path=%s;", path);
if (domain)
- printf("; domain=%s", domain);
+ printf(" domain=%s;", domain);
if (expires)
{
char date[256]; /* Date string */
- printf("; expires=%s", httpGetDateString2(expires, date, sizeof(date)));
+ printf(" expires=%s;", httpGetDateString2(expires, date, sizeof(date)));
}
if (secure)
- puts("; secure;");
+ puts(" secure;");
else
- puts(";");
+ putchar('\n');
}
@@ -1301,5 +1301,5 @@ cgi_unlink_file(void)
/*
- * End of "$Id: var.c 9793 2011-05-20 03:49:49Z mike $".
+ * End of "$Id: var.c 9949 2011-08-31 04:58:33Z mike $".
*/