summaryrefslogtreecommitdiffhomepage
path: root/common-algo.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2005-09-02 15:33:45 +0000
committerMatt Johnston <matt@ucc.asn.au>2005-09-02 15:33:45 +0000
commitb332e4aaf9c1a6c883e9eda83ee53a8b963aff47 (patch)
treed7a109def1c99da17d7e665a336eb0256ba47579 /common-algo.c
parent1cf8d6b631a1453359d7b7bb38c724a152fff48a (diff)
parentcff00f43c2c127ecad60a70249b0a21fa68193c6 (diff)
merge of 57902417ad22502b79c63fcabb7f4a8c8449e682
and 92bb4dd3f6f212342a5c991f738b987d7a07a6b2 --HG-- extra : convert_revision : f4bf35030bf75c46ab649774ebaf7bcf8e545b04
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 f75c144..21e39a2 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) {