URL: <http://gna.org/patch/?4803>
Summary: Probable incorrrect use of single equal sign in if statement Project: Freeciv Submitted by: stratthinker Submitted on: Sat 14 Jun 2014 12:51:49 AM UTC Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: _______________________________________________________ Details: In the file srv_main.c I found on line 1244 this code [code] if ((filename = strrchr(filepath, '/'))) { [/code] shouldn't there be a double equal sign. I have uploaded a patch to change it to a double equal sign. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sat 14 Jun 2014 12:51:49 AM UTC Name: srv_main.patch Size: 440B By: stratthinker Changed single equal sign to double equal sign <http://gna.org/patch/download.php?file_id=20999> _______________________________________________________ Reply to this item at: <http://gna.org/patch/?4803> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev