gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 51/153: smb: don't mark it done in smb_do


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 51/153: smb: don't mark it done in smb_do
Date: Tue, 11 Sep 2018 12:52:02 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 45d45275e1f7b764839333ba374bd695d258f43b
Author: Daniel Stenberg <address@hidden>
AuthorDate: Wed Aug 1 13:06:21 2018 +0200

    smb: don't mark it done in smb_do
    
    Follow-up to 09e401e01bf9. The SMB protocol handler needs to use its
    doing function too, which requires smb_do() to not mark itself as
    done...
    
    Closes #2822
---
 lib/smb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/smb.c b/lib/smb.c
index 77eee35a1..09aa8efc7 100644
--- a/lib/smb.c
+++ b/lib/smb.c
@@ -941,11 +941,11 @@ static CURLcode smb_do(struct connectdata *conn, bool 
*done)
   struct smb_conn *smbc = &conn->proto.smbc;
   struct smb_request *req = conn->data->req.protop;
 
+  *done = FALSE;
   if(smbc->share) {
     req->path = strchr(smbc->share, '\0');
     if(req->path) {
       req->path++;
-      *done = TRUE;
       return CURLE_OK;
     }
   }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]