Ignore:
Timestamp:
Jun 11, 2008, 3:17:59 PM (14 years ago)
Author:
charles
Message:

fix ACL parsing error introduced by the shttpd auth code change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpc-server.c

    r6124 r6139  
    311311    }
    312312
    313     /* the -2 is to eat the final ", " */
    314     ret = tr_strndup( (char*) EVBUFFER_DATA(out), EVBUFFER_LENGTH(out)-2 );
     313    /* the -1 is to eat the final ", " */
     314    ret = tr_strndup( (char*) EVBUFFER_DATA(out), EVBUFFER_LENGTH(out)-1 );
    315315    evbuffer_free( out );
    316316    return ret;
Note: See TracChangeset for help on using the changeset viewer.