equal
deleted
inserted
replaced
115 printf ("%10s %s %s :%s\n", "WRITE", message.command, message.user, VERSION_STRING); |
115 printf ("%10s %s %s :%s\n", "WRITE", message.command, message.user, VERSION_STRING); |
116 fprintf (stream, "VERSION :%s\r\n", VERSION_STRING); |
116 fprintf (stream, "VERSION :%s\r\n", VERSION_STRING); |
117 } |
117 } |
118 |
118 |
119 if (strstr (msg, ":Password accepted") != NULL) { |
119 if (strstr (msg, ":Password accepted") != NULL) { |
|
120 break; |
|
121 } |
|
122 |
|
123 if (strstr (msg, ":You are now identified for") != NULL) { |
120 break; |
124 break; |
121 } |
125 } |
122 |
126 |
123 if (strstr (msg, ":You are now logged in.") != NULL) { |
127 if (strstr (msg, ":You are now logged in.") != NULL) { |
124 break; |
128 break; |