s4:heimdal: import lorikeet-heimdal-201101310455 (commit aa88eb1a05c4985cc23fb65fc1ba...
[idra/samba.git] / source4 / heimdal / lib / krb5 / config_file.c
index d08c5b58515fa0a06816b8a2352c1daff00db2cf..89f778823d3c00ba45bc73f6f3c5ca01a238e0ee 100644 (file)
@@ -877,12 +877,7 @@ next_component_string(char * begin, char * delims, char **state)
 
     end = begin;
     while (*end == '"') {
-        char * t;
-        while ((t = strchr(end + 1, '"')) != NULL && *(t - 1) == '\\') {
-            --t;
-            memmove(t, t + 1, strlen(t));
-            end = t;
-        }
+        char * t = strchr(end + 1, '"');
 
         if (t)
             end = ++t;