session CHANGE add error codes for session status and term reason enums
diff --git a/src/session.c b/src/session.c
index ffc4fe6..ae14060 100644
--- a/src/session.c
+++ b/src/session.c
@@ -286,7 +286,7 @@
 {
     if (!session) {
         ERRARG("session");
-        return 0;
+        return NC_STATUS_ERR;
     }
 
     return session->status;
@@ -297,7 +297,7 @@
 {
     if (!session) {
         ERRARG("session");
-        return 0;
+        return NC_SESSION_TERM_ERR;
     }
 
     return session->term_reason;