Mercurial > hg > Applications > virsh-wrapper
diff ie-virsh.c @ 50:7a02dee972c4
easy fix randomUUID
author | kono |
---|---|
date | Tue, 30 Jan 2018 22:13:22 +0900 |
parents | b8887c40f8b8 |
children | e45676e6b6cd |
line wrap: on
line diff
--- a/ie-virsh.c Mon Dec 12 16:55:28 2016 +0900 +++ b/ie-virsh.c Tue Jan 30 22:13:22 2018 +0900 @@ -31,7 +31,7 @@ #define define_gdb_command "define-gdb" -const char *guests[] = {}; +const char *guests[] = {"145165B"}; const char *managers[] = {"atton"}; const char *students_identifier = "student"; const char *teachers_identifier = "teacher"; @@ -170,8 +170,7 @@ const int guests_num = sizeof(guests) / sizeof(guests[0]); int j = 0; for (; j < guests_num; j++) { - if (strncmp(account_name, guests[j], NAME_LENGTH) == 0) { - return GUESTS; + if (strncmp(account_name, guests[j], NAME_LENGTH) == 0) { return GUESTS; } }