summaryrefslogtreecommitdiffhomepage
path: root/common-algo.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2005-09-02 15:33:09 +0000
committerMatt Johnston <matt@ucc.asn.au>2005-09-02 15:33:09 +0000
commitcff00f43c2c127ecad60a70249b0a21fa68193c6 (patch)
tree4955dc638d6552d9b49444591283539d47fb55ee /common-algo.c
parentf724ece38670399a1c17810fe223b28933d46966 (diff)
disapproval of revision ac41ae96770156bca2c0193b500ee07ee8d9a027
--HG-- extra : convert_revision : f90dd77112802d0d9252e4c124a14d0f4fcd9011
Diffstat (limited to 'common-algo.c')
-rw-r--r--common-algo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common-algo.c b/common-algo.c
index 71b1c6a..45adecb 100644
--- a/common-algo.c
+++ b/common-algo.c
@@ -210,7 +210,7 @@ int have_algo(char* algo, size_t algolen, algo_type algos[]) {
void buf_put_algolist(buffer * buf, algo_type localalgos[]) {
unsigned int pos = 0, i, len;
- char str[MAX_ALGO_LIST_LEN];
+ char str[50]; /* enough for local algo storage */
for (i = 0; localalgos[i].name != NULL; i++) {
if (localalgos[i].usable) {