summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/session.c')
-rw-r--r--usr.bin/cvs/session.c24
1 files changed, 11 insertions, 13 deletions
diff --git a/usr.bin/cvs/session.c b/usr.bin/cvs/session.c
index bbea8df56f3..b5586a0d282 100644
--- a/usr.bin/cvs/session.c
+++ b/usr.bin/cvs/session.c
@@ -1,16 +1,16 @@
-/* $OpenBSD: session.c,v 1.1 2004/11/09 20:50:27 krapht Exp $ */
+/* $OpenBSD: session.c,v 1.2 2004/12/07 17:10:56 tedu Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
- * All rights reserved.
+ * All rights reserved.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
*
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
* 2. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
+ * derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
@@ -21,7 +21,7 @@
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
- * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/param.h>
@@ -55,7 +55,6 @@
*
* Allocate a new session.
*/
-
struct cvsd_sess*
cvsd_sess_alloc(int fd)
{
@@ -90,11 +89,10 @@ cvsd_sess_alloc(int fd)
* cvsd_sess_free()
*
*/
-
void
cvsd_sess_free(struct cvsd_sess *sessp)
{
- if (sessp != NULL) {
+
+ if (sessp != NULL)
free(sessp);
- }
}