From 0a7dab2c8696897e3af3c87465cbe0a5e6084426 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 8 Dec 2005 15:51:08 +0000 Subject: [PATCH] Returning NULL on session not found for session.retrieve git-svn-id: svn://svn.open-ils.org/ILS/trunk@2284 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/c-apps/oils_auth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Open-ILS/src/c-apps/oils_auth.c b/Open-ILS/src/c-apps/oils_auth.c index 05f8088437..43b0fb054d 100644 --- a/Open-ILS/src/c-apps/oils_auth.c +++ b/Open-ILS/src/c-apps/oils_auth.c @@ -394,6 +394,8 @@ int oilsAuthSessionRetrieve( osrfMethodContext* ctx ) { if(cacheObj) { osrfAppRespondComplete( ctx, jsonObjectGetKey( cacheObj, "userobj")); jsonObjectFree(cacheObj); + } else { + osrfAppRespondComplete( ctx, NULL ); /* should be event.. */ } free(key); } -- 2.43.2