diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-01-12 08:45:35 +0100 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-01-12 08:45:35 +0100 |
commit | c89c81f60ffd4951aa660ea3f48bac32d0fbe51d (patch) | |
tree | 13947c4f648081879a3fe5e7ebb4b385e9654594 /plugins/checksum/checksum.c | |
parent | e3d44f8829f03f09e15b94dfcf1579ce9e717b77 (diff) |
cosmetics
Diffstat (limited to 'plugins/checksum/checksum.c')
-rw-r--r-- | plugins/checksum/checksum.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/checksum/checksum.c b/plugins/checksum/checksum.c index 93e44b0f..0e3f2404 100644 --- a/plugins/checksum/checksum.c +++ b/plugins/checksum/checksum.c @@ -68,7 +68,7 @@ sha256 (char *string, char outputBuffer[65]) SHA256_CTX sha256; SHA256_Init (&sha256); - SHA256_Update (&sha256, string, strlen(string)); + SHA256_Update (&sha256, string, strlen (string)); SHA256_Final (hash, &sha256); for (i = 0; i < SHA256_DIGEST_LENGTH; i++) @@ -301,13 +301,13 @@ dccoffer_cb (char *word[], void *userdata) static void checksum (char *userdata[]) { - if (!stricmp("GET", userdata[2])) + if (!stricmp ("GET", userdata[2])) { print_size (); - } else if (!stricmp("INC", userdata[2])) + } else if (!stricmp ("INC", userdata[2])) { increase_max_hash_size (); - } else if (!stricmp("DEC", userdata[2])) + } else if (!stricmp ("DEC", userdata[2])) { decrease_max_hash_size (); } else |