From 851edd758f229f50e637247588370f8f650fe18b Mon Sep 17 00:00:00 2001
From: Fabian Keil <fk@fabiankeil.de>
Date: Mon, 1 Jun 2009 20:30:50 +0200
Subject: [PATCH 07/10] Why increment nthdef if we won't read from it.

---
 lib/dict.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git lib/dict.c lib/dict.c
index 2d7e4f2..b4a1294 100644
--- lib/dict.c
+++ lib/dict.c
@@ -182,7 +182,7 @@ static CURLcode dict_do(struct connectdata *conn, bool *done)
           *strategy++ = (char)0;
           nthdef = strchr(strategy, ':');
           if(nthdef) {
-            *nthdef++ = (char)0;
+            *nthdef = (char)0;
           }
         }
       }
@@ -238,7 +238,7 @@ static CURLcode dict_do(struct connectdata *conn, bool *done)
         *database++ = (char)0;
         nthdef = strchr(database, ':');
         if(nthdef) {
-          *nthdef++ = (char)0;
+          *nthdef = (char)0;
         }
       }
     }
-- 
1.6.3.1


