Description of problem: This could be better: if (strncasecmp(argv[0], "bluetooth://", 12)) { fprintf(stderr, "ERROR: No device URI found\n"); return 1; } It should do something like this instead: char *uri = getenv ("DEVICE_URI"); if (uri == NULL) uri == argv[0] if (strncasecmp(uri, "bluetooth://", 12)) { ... Version-Release number of selected component (if applicable): 3.20-6.fc8
In fact, it could even do this: #include <cups/backend.h> ... const char *uri = cupsBackendDeviceURI (argv); if (strncasecmp(uri, "bluetooth://, 12)) { ...
Fixed upstream. Should be in 3.29.