Clean up white space.

This commit is contained in:
Jan Vidar Krey
2013-03-22 20:00:40 +01:00
parent 5835a06676
commit f25015927a
34 changed files with 232 additions and 232 deletions

View File

@@ -366,7 +366,7 @@ static int ADC_client_on_recv_line(struct ADC_client* client, const char* line,
}
*/
break;
default:
break;
}

View File

@@ -77,7 +77,7 @@ const char* chat_messages[MAX_CHAT_MSGS] = {
"can anyone help me, pls?",
"wtf?",
"bullshit",
"resistance is futile.",
"resistance is futile.",
"You crossed the line first, sir. You squeezed them, you hammered them to the point of desperation. And in their desperation they turned to a man they didn't fully understand.",
"beam me up, scotty",
"morning",
@@ -87,10 +87,10 @@ const char* chat_messages[MAX_CHAT_MSGS] = {
"*punt*",
"*nudge*",
"that's ok",
"...anyway",
"...anyway",
"hola",
"hey",
"hi",
"hi",
"nevermind",
"i think so",
"dunno",
@@ -173,7 +173,7 @@ static void perf_chat(struct ADC_client* client, int priv)
else
cmd = adc_msg_construct_source(ADC_CMD_BMSG, ADC_client_get_sid(client), strlen(msg));
hub_free(msg);
ADC_client_send(client, cmd);
}
@@ -294,7 +294,7 @@ static void perf_normal_action(struct ADC_client* client)
bot_output(client, LVL_VERBOSE, "timeout -> chat");
if (user->logged_in)
perf_chat(client, 0);
}
break;
@@ -486,7 +486,7 @@ int parse_address(const char* arg)
{
if (!arg || strlen(arg) < 9)
return 0;
if (strncmp(arg, "adc://", 6) && strncmp(arg, "adcs://", 7))
return 0;
@@ -537,7 +537,7 @@ int main(int argc, char** argv)
{
parse_command_line(argc, argv);
net_initialize();
net_stats_get(&stats_intermediate, &stats_total);

View File

@@ -132,7 +132,7 @@ static int handle(struct ADC_client* client, enum ADC_client_callback_type type,
break;
case ADC_CLIENT_USER_JOIN:
user_add(data->user);
break;

View File

@@ -319,7 +319,7 @@ static int pass(size_t argc, const char** argv)
fprintf(stderr, "Unable to change password for user \"%s\"\n", argv[0]);
return 1;
}
return 0;
}