diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-07-26 02:44:20 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-07-26 02:44:20 +0000 |
commit | a9c38fb37f5fc8796435c2bcbcdecf35cf802ca6 (patch) | |
tree | a0342c77df2912832910cc72c9fcef0a2f597461 /svr-algo.c | |
parent | f6fce0981d1a351681c58e36d845fa1fa366b398 (diff) |
snapshot of stuff
--HG--
extra : convert_revision : 2903853ba24669d01547710986ad531357602633
Diffstat (limited to 'svr-algo.c')
-rw-r--r-- | svr-algo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,6 +16,8 @@ algo_type * svr_buf_match_algo(buffer* buf, algo_type localalgos[], unsigned int count, i, j; algo_type * ret = NULL; + *goodguess = 0; + /* get the comma-separated list from the buffer ie "algo1,algo2,algo3" */ algolist = buf_getstring(buf, &len); /* Debug this */ @@ -57,8 +59,6 @@ algo_type * svr_buf_match_algo(buffer* buf, algo_type localalgos[], /* set if it was a good guess */ if (i == 0 && j == 0) { *goodguess = 1; - } else { - *goodguess = 0; } /* set the algo to return */ ret = &localalgos[j]; |