Diff
Not logged in

Differences From:

File src/encode.c part of check-in [d2b4469934] - Append the pathname to the login cookie name so that separate cookies are used for each server. by drh on 2007-11-21 13:52:26. Also file src/encode.c part of check-in [d0305b305a] - Merged mainline into my branch to get the newest application. by aku on 2007-12-05 08:07:46. Also file src/encode.c part of check-in [007d1ce44f] - Rename admin_sql_page.c to admin.c. Refactor the strxform functions into SQL functions. Refactor the db_generic_query_view() routine. Fix multiple security vulnerabilities. Bring the code closer into compliance with style guidelines. by drh on 2008-02-07 15:08:02. [view]

To:

File src/encode.c part of check-in [31e94c0a04] - Get "configuration push" working. Fix bugs in concealed-field processing of tickets. by drh on 2008-10-25 20:43:28. [view]

@@ -292,9 +292,9 @@
       }
     }
     z[j++] = c;
   }
-  z[j] = 0;
+  if( z[j] ) z[j] = 0;
 }
 
 
 /*