summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-05-08 13:55:39 +0100
committerTom Hacohen <tom@stosb.com>2015-05-08 13:55:39 +0100
commita08583d4d45c4d227e5ab7d20f4e95521104e588 (patch)
treeec4d4c579a84b46e2b94a4640abfad065c15eb8e
parentd1a5770a77e11d7aa81cafbcb7d3517b7d2b5a64 (diff)
downloadefl-a08583d4d45c4d227e5ab7d20f4e95521104e588.tar.gz
Efl debug: Rename shadowing variable.
-rw-r--r--src/bin/efl/efl_debug.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/bin/efl/efl_debug.c b/src/bin/efl/efl_debug.c
index c8df269bf9..461238d35d 100644
--- a/src/bin/efl/efl_debug.c
+++ b/src/bin/efl/efl_debug.c
@@ -49,23 +49,23 @@ _server_add(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_Con_Event_Server
else if ((!strcmp(my_argv[i], "pon")) &&
(i < (my_argc - 2)))
{
- unsigned char buf[8];
+ unsigned char tmp[8];
int pid = atoi(my_argv[i + 1]);
unsigned int freq = atoi(my_argv[i + 2]);
i += 2;
- store_val(buf, 0, pid);
- store_val(buf, 4, freq);
- send_svr(svr, "PLON", buf, sizeof(buf));
+ store_val(tmp, 0, pid);
+ store_val(tmp, 4, freq);
+ send_svr(svr, "PLON", tmp, sizeof(tmp));
ecore_main_loop_quit();
}
else if ((!strcmp(my_argv[i], "poff")) &&
(i < (my_argc - 1)))
{
- unsigned char buf[4];
+ unsigned char tmp[4];
int pid = atoi(my_argv[i + 1]);
i++;
- store_val(buf, 0, pid);
- send_svr(svr, "PLOF", buf, sizeof(buf));
+ store_val(tmp, 0, pid);
+ send_svr(svr, "PLOF", tmp, sizeof(tmp));
ecore_main_loop_quit();
}
}