diff options
author | Vincent Untz <vuntz@novell.com> | 2008-11-20 13:29:13 +0100 |
---|---|---|
committer | Vincent Untz <vuntz@novell.com> | 2008-11-20 13:29:13 +0100 |
commit | 165a2528be374363b1d47336140fcc8e823f7c56 (patch) | |
tree | 617c5cc365a33ba401d2727a7ea4b35d9a19e18d | |
parent | 32806f03fc3ab30323b7fad3356c3682d3fb55dc (diff) |
Accept an empty string array for deleting an option.
(instead of just accepting NULL)
-rw-r--r-- | src/cups.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -973,7 +973,7 @@ cph_cups_printer_class_set_option_default (CphCups *cups, option_name = g_strdup_printf ("%s-default", option); /* delete default value for option */ - if (!values) { + if (len == 0) { retval = _cph_cups_send_new_printer_class_request ( cups, printer_name, |