IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 28, 2005, 2:31:05 PM (21 years ago)
Author:
jhoblitt
Message:

fix logic bug in nebOpen()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/nebclient/src/nebclient.c

    r4649 r4650  
    44 * Copyright (C) 2005  Joshua Hoblitt
    55 *
    6  * $Id: nebclient.c,v 1.32 2005-07-28 23:32:57 jhoblitt Exp $
     6 * $Id: nebclient.c,v 1.33 2005-07-29 00:31:05 jhoblitt Exp $
    77 */
    88
     
    330330    nebObjectInstances *locations;
    331331    char            *filename;
    332     int             instances;
    333332    int             fh;
    334333
     
    348347
    349348    if (flag == NEB_WRITE) {
    350         if (instances > 1) {
     349        if (locations->n > 1) {
    351350            nebSetErr(server, "write not allowed with multiple instances");
    352351            nebFree(filename);
Note: See TracChangeset for help on using the changeset viewer.