~ubuntu-branches/ubuntu/precise/transmission/precise

« back to all changes in this revision

Viewing changes to .pc/0114-dont_move_file_if_src_and_dest_are_the_same.patch/libtransmission/utils.h

  • Committer: Bazaar Package Importer
  • Author(s): Krzysztof Klimonda
  • Date: 2011-03-31 17:34:58 UTC
  • Revision ID: james.westby@ubuntu.com-20110331173458-b1e2432ikhtqpdy4
Tags: 2.13-0ubuntu8
* debian/patches/0113-fix_support_for_ipv6_trackers.patch:
  - update patch to fix the crash it has introduced. (LP: #740614) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
331
331
char* tr_strndup( const void * in, int len ) TR_GNUC_MALLOC;
332
332
 
333
333
/**
 
334
* @brief like strcmp() but gracefully handles NULL strings
 
335
*/
 
336
int tr_strcmp0( const char * str1, const char * str2 );
 
337
 
 
338
/**
334
339
 * @brief make a newly-allocated copy of a string
335
340
 * @param in is a void* so that callers can pass in both signed & unsigned without a cast
336
341
 * @return a newly-allocated copy of `in' that can be freed with tr_free()