Update copyright years.
[libradsec.git] / lib / err.c
index 60ef82f..0c7d5a8 100644 (file)
--- a/lib/err.c
+++ b/lib/err.c
@@ -1,5 +1,5 @@
-/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
-   See the file COPYING for licensing information.  */
+/* Copyright 2010-2013 NORDUnet A/S. All rights reserved.
+   See LICENSE for licensing information. */
 
 #if defined HAVE_CONFIG_H
 #include <config.h>
@@ -158,6 +158,8 @@ rs_err_ctx_push_fl (struct rs_context *ctx, int code, const char *file,
 int
 err_conn_push_err (struct rs_connection *conn, struct rs_error *err)
 {
+  assert (conn);
+  assert (err);
 
   if (conn->err)
     rs_err_free (conn->err);