summaryrefslogtreecommitdiff
path: root/src/bin
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 /src/bin
parentd1a5770a77e11d7aa81cafbcb7d3517b7d2b5a64 (diff)
Efl debug: Rename shadowing variable.
Diffstat (limited to 'src/bin')
-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
49 else if ((!strcmp(my_argv[i], "pon")) && 49 else if ((!strcmp(my_argv[i], "pon")) &&
50 (i < (my_argc - 2))) 50 (i < (my_argc - 2)))
51 { 51 {
52 unsigned char buf[8]; 52 unsigned char tmp[8];
53 int pid = atoi(my_argv[i + 1]); 53 int pid = atoi(my_argv[i + 1]);
54 unsigned int freq = atoi(my_argv[i + 2]); 54 unsigned int freq = atoi(my_argv[i + 2]);
55 i += 2; 55 i += 2;
56 store_val(buf, 0, pid); 56 store_val(tmp, 0, pid);
57 store_val(buf, 4, freq); 57 store_val(tmp, 4, freq);
58 send_svr(svr, "PLON", buf, sizeof(buf)); 58 send_svr(svr, "PLON", tmp, sizeof(tmp));
59 ecore_main_loop_quit(); 59 ecore_main_loop_quit();
60 } 60 }
61 else if ((!strcmp(my_argv[i], "poff")) && 61 else if ((!strcmp(my_argv[i], "poff")) &&
62 (i < (my_argc - 1))) 62 (i < (my_argc - 1)))
63 { 63 {
64 unsigned char buf[4]; 64 unsigned char tmp[4];
65 int pid = atoi(my_argv[i + 1]); 65 int pid = atoi(my_argv[i + 1]);
66 i++; 66 i++;
67 store_val(buf, 0, pid); 67 store_val(tmp, 0, pid);
68 send_svr(svr, "PLOF", buf, sizeof(buf)); 68 send_svr(svr, "PLOF", tmp, sizeof(tmp));
69 ecore_main_loop_quit(); 69 ecore_main_loop_quit();
70 } 70 }
71 } 71 }