windows-netidmgr-progress-20090205
authorAsanka Herath <asanka@secure-endpoints.com>
Fri, 6 Feb 2009 03:13:38 +0000 (03:13 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 6 Feb 2009 03:13:38 +0000 (03:13 +0000)
LICENSE MIT

add progress reporting to the provider.

src/WINNT/netidmgr_plugin/afsnewcreds.c

index ff91161..e079550 100644 (file)
@@ -2669,6 +2669,8 @@ afs_msg_newcred(khm_int32 msg_subtype,
                 khm_handle csp_cell = NULL;
                 BOOL bgetLinked = 0;
 
+                _progress(i, l->n_rows);
+
                 if (l->rows[i].flags &
                     (DLGROW_FLAG_DONE | DLGROW_FLAG_DELETED))
 
@@ -2787,6 +2789,8 @@ afs_msg_newcred(khm_int32 msg_subtype,
                 }
             }
 
+            _progress(1,1);
+
         _skip_tokens:
 
             if(failed) {