warning reducing

This commit is contained in:
shahab SHARIAT BAGHERI
2017-08-09 13:42:50 +02:00
parent 0b3e617089
commit 4d3689a56c
8 changed files with 41 additions and 15 deletions
+5
View File
@@ -397,6 +397,11 @@ int flexran_agent_control_delegation(mid_t mod_id, const void *params, Protocol_
status = mkdir(local_cache, S_IRWXU | S_IRWXG | S_IRWXO);
if (status < 0){
LOG_W(ENB_APP, "Couldn't create local cache!");
}
FILE *f;
f = fopen(target, "wb");
fwrite(control_delegation_msg->payload.data, control_delegation_msg->payload.len, 1, f);