snapshot of stuff

--HG--
extra : convert_revision : 2903853ba24669d01547710986ad531357602633
This commit is contained in:
Matt Johnston
2004-07-26 02:44:20 +00:00
parent f6fce0981d
commit a9c38fb37f
20 changed files with 750 additions and 321 deletions

View File

@@ -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];