equal
deleted
inserted
replaced
257 ++message->domain; |
257 ++message->domain; |
258 if ((ptr = strchr (message->user, '!'))) |
258 if ((ptr = strchr (message->user, '!'))) |
259 *ptr = '\0'; |
259 *ptr = '\0'; |
260 |
260 |
261 message->channel = strtok (message->line, " "); |
261 message->channel = strtok (message->line, " "); |
262 strncpy (message->current_channel, message->channel, sizeof (message->current_channel)); |
262 safe_strncpy (message->current_channel, message->channel, sizeof (message->current_channel)); |
263 message->line = strtok (NULL, "\r\n"); |
263 message->line = strtok (NULL, "\r\n"); |
264 message->line++; |
264 message->line++; |
265 printf ("%10s %s %s :%s\n", "READ", message->command, message->channel, message->line); |
265 printf ("%10s %s %s :%s\n", "READ", message->command, message->channel, message->line); |
266 return NULL; |
266 return NULL; |
267 case QUIT: |
267 case QUIT: |