~ubuntu-branches/ubuntu/saucy/hplip/saucy-proposed

« back to all changes in this revision

Viewing changes to io/hpmud/hpmud.c

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2012-05-26 11:20:39 UTC
  • mfrom: (1.5.6) (31.1.3 precise)
  • Revision ID: package-import@ubuntu.com-20120526112039-bevxczegxnbyr5m7
Tags: 3.12.4-1
* New upstream release
* Switch to source/format 3.0 (quilt) - drop dpatch
* Refreshed debian/patches
* dh_autoreconf debian/autogen.sh & set local-options single-debian-patch
* Update to debian/compat -> 9
* Fix "hardened build flags" patch from Moritz - thanks (Closes: #667828)
* Fix "duplex descriptor uninitialized" patch from Matej (Closes: #583273)
* Fix "please migrate to kde-runtime" patch from Pino (Closes: #666544)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
23
 
24
24
  Author: Naga Samrat Chowdary Narla,
 
25
  Contributor: Sarbeswar Meher
25
26
\*****************************************************************************/
26
27
 
27
28
#include "hpmud.h"
211
212
   else if (strncasecmp(sn, "hp-ledm-scan", 12) == 0)
212
213
   {
213
214
      *index = HPMUD_LEDM_SCAN_CHANNEL;
214
 
      BUG("io/hpmud/hpmud.c: service_to_channel(): sn=%s\n", sn);   
215
215
   }
216
216
   /* All the following services require MLC/1284.4. */
217
217
   else if (pd->io_mode == HPMUD_RAW_MODE || pd->io_mode == HPMUD_UNI_MODE)
272
272
 
273
273
   if (uri[0] == 0)
274
274
      return 0;
275
 
 
 
275
   
276
276
   pthread_mutex_lock(&msp->mutex);
277
 
 
 
277
   
278
278
   if (msp->device[i].index)
279
279
   {
280
280
      BUG("invalid device_open state\n");        /* device is already open for this client, one device per session */