Changeset 5738:2b1f72d9508d in roaraudio


Ignore:
Timestamp:
11/07/12 19:36:24 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed rindex() problem, reported by stephan48

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/universal/protocol-http.c

    r5731 r5738  
    111111 
    112112static const char * __res_vio_content_type_get(struct http_client * self) { 
    113  const char * point = rindex(self->path, '.'); 
     113 const char * point = strrchr(self->path, '.'); 
    114114 
    115115 if ( point == NULL ) 
Note: See TracChangeset for help on using the changeset viewer.