From: Charles Kerr Date: Mon, 9 Jun 2008 23:34:52 +0000 (+0000) Subject: (daemon) #1008: tr-remote crash when using -a flag (connecting to mac client) [r6093] X-Git-Tag: 1.22~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=550a183d16709199a24c840b0675e7111e803bd0;p=transmission (daemon) #1008: tr-remote crash when using -a flag (connecting to mac client) [r6093] --- diff --git a/daemon/remote.c b/daemon/remote.c index a4bbe900d..bae09c51e 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -105,7 +105,7 @@ absolutify( char * buf, size_t len, const char * path ) static char* getEncodedMetainfo( const char * filename ) { - size_t len; + size_t len = 0; uint8_t * buf = tr_loadFile( filename, &len ); char * b64 = tr_base64_encode( buf, len, NULL ); tr_free( buf );