Updated coding standard

This commit is contained in:
Moritz Lipp 2011-02-09 19:29:09 +08:00
parent 4c19c798f7
commit 5e7a774101
10 changed files with 175 additions and 176 deletions

View File

@ -33,8 +33,7 @@ cc_print(girara_session_t* session, char* input)
char* p = strtok(output, "\n");
char* q;
while(p)
{
while (p) {
if (!(p = strstr(p, "device for ")) || !(q = strchr(p, ':'))) {
p = strtok(NULL, "\n");
continue;