comparison cli-algo.c @ 165:0cfba3034be5

Fixed DEBUG_TRACE macro so that we don't get semicolons left about the place
author Matt Johnston <matt@ucc.asn.au>
date Sun, 02 Jan 2005 20:25:56 +0000
parents 0969767bca0d
children 870c63519757
comparison
equal deleted inserted replaced
161:b9d3f725e00b 165:0cfba3034be5
44 44
45 *goodguess = 0; 45 *goodguess = 0;
46 46
47 /* get the comma-separated list from the buffer ie "algo1,algo2,algo3" */ 47 /* get the comma-separated list from the buffer ie "algo1,algo2,algo3" */
48 algolist = buf_getstring(buf, &len); 48 algolist = buf_getstring(buf, &len);
49 TRACE(("cli_buf_match_algo: %s", algolist)); 49 TRACE(("cli_buf_match_algo: %s", algolist))
50 if (len > MAX_PROPOSED_ALGO*(MAX_NAME_LEN+1)) { 50 if (len > MAX_PROPOSED_ALGO*(MAX_NAME_LEN+1)) {
51 goto out; /* just a sanity check, no other use */ 51 goto out; /* just a sanity check, no other use */
52 } 52 }
53 53
54 /* remotealgos will contain a list of the strings parsed out */ 54 /* remotealgos will contain a list of the strings parsed out */