Add check for delimitst < 0 back in.
authoraland <aland>
Tue, 28 Aug 2007 13:01:50 +0000 (13:01 +0000)
committeraland <aland>
Tue, 28 Aug 2007 13:01:50 +0000 (13:01 +0000)
src/lib/print.c

index 424d70e..758485b 100644 (file)
@@ -227,6 +227,10 @@ int vp_prints_value(char * out, int outlen, VALUE_PAIR *vp, int delimitst)
                                                 vp->length, buf + 1, sizeof(buf) - 2);
                                strcat(buf, "\"");
 
+                       } else if (delimitst < 0) { /* xlat.c */
+                               strlcpy(out, vp->vp_strvalue, outlen);
+                               return strlen(out);
+
                        } else {
                                /* Non-tagged attribute: no delimiter */
                                librad_safeprint((char *)vp->vp_strvalue,