Browse Source

usrloc: fixed c&p error for variable name in ul_rpc_add()

Daniel-Constantin Mierla 11 years ago
parent
commit
c6246840ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/usrloc/ul_rpc.c

+ 1 - 1
modules/usrloc/ul_rpc.c

@@ -544,7 +544,7 @@ static void ul_rpc_add(rpc_t* rpc, void* ctx)
 
 
 	ret = rpc->scan(ctx, "SSSdfSddd", &table, &aor, &contact, &ci.expires,
 	ret = rpc->scan(ctx, "SSSdfSddd", &table, &aor, &contact, &ci.expires,
 		&dtemp, &path, &ci.flags, &ci.cflags, &ci.methods);
 		&dtemp, &path, &ci.flags, &ci.cflags, &ci.methods);
-	if(path.len==1 && (strncmp(temp.s, "0", 1)==0))	{
+	if(path.len==1 && (strncmp(path.s, "0", 1)==0))	{
 		LM_DBG("path == 0 -> unset\n");
 		LM_DBG("path == 0 -> unset\n");
 	}
 	}
 	else {
 	else {