From 550a183d16709199a24c840b0675e7111e803bd0 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 9 Jun 2008 23:34:52 +0000 Subject: [PATCH] (daemon) #1008: tr-remote crash when using -a flag (connecting to mac client) [r6093] --- daemon/remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.40.0