projects
/
libradsec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename COPYING -> LICENSE.
[libradsec.git]
/
lib
/
debug.c
diff --git
a/lib/debug.c
b/lib/debug.c
index
4544f3c
..
25c7fd6
100644
(file)
--- a/
lib/debug.c
+++ b/
lib/debug.c
@@
-1,12
+1,14
@@
-/* See the file COPYING for licensing information. */
+/* Copyright 2011 NORDUnet A/S. All rights reserved.
+ See LICENSE for licensing information. */
#if defined HAVE_CONFIG_H
#include <config.h>
#endif
#if defined HAVE_CONFIG_H
#include <config.h>
#endif
+#include <sys/types.h>
#include <stdio.h>
#include <assert.h>
#include <stdio.h>
#include <assert.h>
-#include <
freeradius/libradius
.h>
+#include <
radius/client
.h>
#include <radsec/radsec.h>
#include <radsec/radsec-impl.h>
#include "debug.h"
#include <radsec/radsec.h>
#include <radsec/radsec-impl.h>
#include "debug.h"
@@
-20,19
+22,13
@@
rs_dump_packet (const struct rs_packet *pkt)
return;
p = pkt->rpkt;
return;
p = pkt->rpkt;
- fprintf (stderr, "\tCode: %u, Identifier: %u, Lenght: %u\n",
+ fprintf (stderr, "\tCode: %u, Identifier: %u, Lenght: %
z
u\n",
p->code,
p->id,
p->code,
p->id,
- p->
data_len
);
+ p->
sizeof_data
);
fflush (stderr);
}
fflush (stderr);
}
-void
-rs_dump_attr (const struct rs_attr *attr)
-{
- vp_printlist (stderr, attr->vp);
-}
-
#if defined DEBUG
int
_rs_debug (const char *fmt, ...)
#if defined DEBUG
int
_rs_debug (const char *fmt, ...)