/*
- * digest_pw_auth.c
+ * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
*
- * AUTHOR: Robert Collins. Based on ncsa_auth.c by Arjan de Vet
- * <Arjan.deVet@adv.iae.nl>
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
+/*
+ * AUTHOR: Robert Collins.
+ * Based on ncsa_auth.c by Arjan de Vet <Arjan.deVet@adv.iae.nl>
* LDAP backend extension by Flavio Pescuma, MARA Systems AB <flavio@marasystems.com>
*
* Example digest authentication program for Squid, based on the original
*
* Copyright (c) 2003 Robert Collins <robertc@squid-cache.org>
*/
+
#include "squid.h"
#include "digest_common.h"
#include "helpers/defines.h"
char *p;
requestData->parsed = 0;
if ((p = strchr(buf, '\n')) != NULL)
- *p = '\0'; /* strip \n */
+ *p = '\0'; /* strip \n */
p = NULL;
requestData->channelId = strtoll(buf, &p, 10);
DoOneRequest(buf);
exit(0);
}
+