Client - Fix uninitialised value in 'acct'
authorJohn Hodge <[email protected]>
Fri, 21 Feb 2014 04:54:18 +0000 (12:54 +0800)
committerJohn Hodge <[email protected]>
Fri, 21 Feb 2014 04:54:18 +0000 (12:54 +0800)
src/client/main.c

index 83d2bde..82d7326 100644 (file)
@@ -197,7 +197,7 @@ int subcommand_finger(void)
 //
 int subcommand_acct(void)
 {
-       int ret;
+       int ret = 0;
 
        // Connect to server
        int sock = OpenConnection(gsDispenseServer, giDispensePort);

UCC git Repository :: git.ucc.asn.au