rem: if (enc[i].str == NULL) {
add: if (UCHAR(*p) == ' ') { *q++ = '+'; } else if (enc[i].str == NULL) {
context: Ns_EncodeUrl(Ns_DString *dsPtr, char *string){    register int   i, n;    register char *p, *q;    /*     * Determine and set the requried dstring length.     */    p = string;    n = 0;    while ((i = UCHAR(*p)) != 0) {	n += enc[i].len;	++p;    }    i = dsPtr->length;    Ns_DStringSetLength(dsPtr, dsPtr->length + n);    /*     * Copy the result directly to the pre-sized dstring.     */    q = dsPtr->string + i;    p = string;    while ((i = UCHAR(*p)) != 0) {	if (enc[i].str == NULL) {	    *q++ = *p;	} else {	    *q++ = '%';	    *q++ = enc[i].str[0];	    *q++ = enc[i].str[1];	}	++p;    }    return dsPtr->string;}