Project

General

Profile

Bug #137

Simplify is_remote

Added by Sylvain Laperche about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
05/29/2012
Due date:
% Done:

0%

Estimated time:

Description

The multiple call to strcmp in is_remote (util.c)can be replaced by a only one call to strstr.
See the attached patch.
Make the code clearer (in my opinion, and probably faster too).


Files

strstr.patch (737 Bytes) strstr.patch Sylvain Laperche, 05/29/2012 06:40 AM

History

#1

Updated by Robin Hahling about 8 years ago

  • Target version set to 3.0.0
#2

Updated by Robin Hahling about 8 years ago

  • Status changed from New to Closed
  • Assignee set to Robin Hahling

Thanks :)
I agree: definitely a lot easier to read

Also available in: Atom PDF