Check for non NULL and non-empty URL string
authorwarlord <warlord@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 24 Apr 2003 02:10:56 +0000 (02:10 +0000)
committerwarlord <warlord@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 24 Apr 2003 02:10:56 +0000 (02:10 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@394 cb58f699-b61c-0410-a6fe-9272a202ed29

shib-target/shib-rpcerror.cpp

index 9e13899..585623f 100644 (file)
@@ -274,7 +274,7 @@ const char* get_mapper_string(const char* defaultStr, Pmember fcn,
     res = (mapper.*fcn)(originSite);
   }
 
-  if (res)
+  if (res && *res)
     return res;
 
   return defaultStr;