Commit c044eeab authored by winckel's avatar winckel

Added an explicit warning and use local directory for NAS UE path access.

git-svn-id: 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent e334f70b
......@@ -20,6 +20,7 @@ Description Memory access utilities
#include "memory.h"
#include "commonDef.h"
#include "nas_log.h"
#include <stdio.h> // fopen, fread, fclose
#include <stdlib.h> // getenv, malloc, free
......@@ -64,7 +65,8 @@ char* memory_get_path(const char* dirname, const char* filename)
path = getenv(DEFAULT_NAS_PATH);
if (path == NULL) {
return NULL;
LOG_TRACE(WARNING, "MEMORY - %s and %s environment variables are not defined trying local directory", dirname, DEFAULT_NAS_PATH);
path = ".";
/* Append non-volatile data file name */
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment