forked frommicrosoft/ModSecurity
- Notifications
You must be signed in to change notification settings - Fork0
Commit31d7fc6
Felipe Zimmerle
Code cosmetics: Place copy_rules in nice shape.
Continuation of kukackajiri's work to provide fixes for errors pointed byParfait. The function copy_rules had an integer as return code but it was notfiled proper neither checked by its callers. This commit just adds sanitychecks and documentation for the copy_rules function. Marking were placedon the copy_rules callers, but the return code is not handled yet.For kukackajiri's work, see merge request:owasp-modsecurity#6121 parent62a6f22 commit31d7fc6
1 file changed
+23
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
260 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
261 | 271 | | |
262 | 272 | | |
263 | 273 | | |
264 | 274 | | |
265 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
266 | 284 | | |
267 | 285 | | |
268 | 286 | | |
| |||
274 | 292 | | |
275 | 293 | | |
276 | 294 | | |
277 | | - | |
| 295 | + | |
| 296 | + | |
278 | 297 | | |
279 | 298 | | |
280 | 299 | | |
| |||
393 | 412 | | |
394 | 413 | | |
395 | 414 | | |
| 415 | + | |
396 | 416 | | |
397 | 417 | | |
398 | 418 | | |
| |||
419 | 439 | | |
420 | 440 | | |
421 | 441 | | |
| 442 | + | |
422 | 443 | | |
423 | 444 | | |
424 | 445 | | |
| |||
0 commit comments
Comments
(0)