Fossil SCM
Fix a typo in a comment.
Commit
1167d7b14569c61ee78e9e1de2d4b094e6ff10c0
Parent
70b4f105ebaab44…
1 file changed
+1
-1
+1
-1
| --- src/login.c | ||
| +++ src/login.c | ||
| @@ -385,11 +385,11 @@ | ||
| 385 | 385 | ** is a manually operated browser or a bot. When in doubt, assume a bot. |
| 386 | 386 | ** Return true if we believe the agent is a real person. |
| 387 | 387 | */ |
| 388 | 388 | static int isHuman(const char *zAgent){ |
| 389 | 389 | int i; |
| 390 | - if( zAgent==0 ) return 0; /* If not UserAgent, then probably a bot */ | |
| 390 | + if( zAgent==0 ) return 0; /* If no UserAgent, then probably a bot */ | |
| 391 | 391 | for(i=0; zAgent[i]; i++){ |
| 392 | 392 | if( prefix_match("bot", zAgent+i) ) return 0; |
| 393 | 393 | if( prefix_match("spider", zAgent+i) ) return 0; |
| 394 | 394 | if( prefix_match("crawl", zAgent+i) ) return 0; |
| 395 | 395 | /* If a URI appears in the User-Agent, it is probably a bot */ |
| 396 | 396 |
| --- src/login.c | |
| +++ src/login.c | |
| @@ -385,11 +385,11 @@ | |
| 385 | ** is a manually operated browser or a bot. When in doubt, assume a bot. |
| 386 | ** Return true if we believe the agent is a real person. |
| 387 | */ |
| 388 | static int isHuman(const char *zAgent){ |
| 389 | int i; |
| 390 | if( zAgent==0 ) return 0; /* If not UserAgent, then probably a bot */ |
| 391 | for(i=0; zAgent[i]; i++){ |
| 392 | if( prefix_match("bot", zAgent+i) ) return 0; |
| 393 | if( prefix_match("spider", zAgent+i) ) return 0; |
| 394 | if( prefix_match("crawl", zAgent+i) ) return 0; |
| 395 | /* If a URI appears in the User-Agent, it is probably a bot */ |
| 396 |
| --- src/login.c | |
| +++ src/login.c | |
| @@ -385,11 +385,11 @@ | |
| 385 | ** is a manually operated browser or a bot. When in doubt, assume a bot. |
| 386 | ** Return true if we believe the agent is a real person. |
| 387 | */ |
| 388 | static int isHuman(const char *zAgent){ |
| 389 | int i; |
| 390 | if( zAgent==0 ) return 0; /* If no UserAgent, then probably a bot */ |
| 391 | for(i=0; zAgent[i]; i++){ |
| 392 | if( prefix_match("bot", zAgent+i) ) return 0; |
| 393 | if( prefix_match("spider", zAgent+i) ) return 0; |
| 394 | if( prefix_match("crawl", zAgent+i) ) return 0; |
| 395 | /* If a URI appears in the User-Agent, it is probably a bot */ |
| 396 |