comparison svr-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 e3adf4cf5465
children 870c63519757
comparison
equal deleted inserted replaced
161:b9d3f725e00b 165:0cfba3034be5
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 /* Debug this */ 49 /* Debug this */
50 TRACE(("buf_match_algo: %s", algolist)); 50 TRACE(("buf_match_algo: %s", algolist))
51 if (len > MAX_PROPOSED_ALGO*(MAX_NAME_LEN+1)) { 51 if (len > MAX_PROPOSED_ALGO*(MAX_NAME_LEN+1)) {
52 goto out; /* just a sanity check, no other use */ 52 goto out; /* just a sanity check, no other use */
53 } 53 }
54 54
55 /* remotealgos will contain a list of the strings parsed out */ 55 /* remotealgos will contain a list of the strings parsed out */