return copy;
}
+char *strstrip(char *s)
+{
+ size_t size;
+ char *end;
+
+ size = strlen(s);
+
+ if (!size)
+ return s;
+
+ end = s + size - 1;
+ while (end >= s && isspace(*end))
+ end--;
+ *(end + 1) = '\0';
+
+ while (*s && isspace(*s))
+ s++;
+
+ return s;
+}
int
compare_default_str(void *defstr_a, void *defstr_b,
attr = ippFirstAttribute(response);
while (attr) {
ippAttributeString(attr, valuebuffer, sizeof(valuebuffer));
+ strstrip(valuebuffer);
if(!job_state_attributes){
debug_printf(" Attr: %s\n",ippGetName(attr));
debug_printf(" Value: %s\n", valuebuffer);