diff options
| author | İsa Yurdagül <[email protected]> | 2022-07-06 12:24:25 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-07-06 12:24:25 +0300 |
| commit | f6b5a19b6e6327b6ad97ac94bdc0a26c2f01437e (patch) | |
| tree | 9cee17f144c0027e93a33bd0a3048a5fac5e290e | |
| parent | 054b7fd9bddba6e5d52eb894c6449b8637d5a9bc (diff) | |
Refactors comment line
| -rw-r--r-- | filesys/miniFilter/scanner/user/scanUser.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/filesys/miniFilter/scanner/user/scanUser.c b/filesys/miniFilter/scanner/user/scanUser.c index 23ab37f3..13dd3494 100644 --- a/filesys/miniFilter/scanner/user/scanUser.c +++ b/filesys/miniFilter/scanner/user/scanUser.c @@ -339,6 +339,10 @@ main ( context.Port = port; context.Completion = completion; + // + // Allocate messages. + // + messages = malloc(sizeof(SCANNER_MESSAGE) * threadCount * requestCount); if (messages == NULL) { @@ -373,11 +377,6 @@ main ( for (j = 0; j < requestCount; j++) { - // - // Allocate the message. - // - - PSCANNER_MESSAGE msg = &(messages[i * j]); memset( &msg->Ovlp, 0, sizeof( OVERLAPPED ) ); |
