double indirection (small correction)

Chris Torek chris at trantor.umd.edu
Sat Feb 13 19:17:50 AEST 1988


In article <2292 at umd5.umd.edu> I wrote
-		/* skip word characters */
-		while (isalnum(*s))
-			s++;
-		if (*s == 0)		/* no more characters */
-			*nextp = NULL;
-		else {
-			*s = 0;
-			nextp = s + 1;
-		}

That last assignment should be

	*nextp = s + 1;

Sorry about that.
-- 
In-Real-Life: Chris Torek, Univ of MD Computer Science, +1 301 454 7163
(hiding out on trantor.umd.edu until mimsy is reassembled in its new home)
Domain: chris at mimsy.umd.edu		Path: not easily reachable



More information about the Comp.lang.c mailing list