Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 x11vnc (0.9.12-1build2) unstable; urgency=low
 .
   * add another user check
Author: root <root@console1-ub.ub.aau.at>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- x11vnc-0.9.12.orig/x11vnc/ssltools.h
+++ x11vnc-0.9.12/x11vnc/ssltools.h
@@ -1275,7 +1275,7 @@ char find_display[] =
 "                           xifound=1\n"
 "                         fi\n"
 "                       done\n"  
-"                       if [ \"$xifound\" = "0" ]; then continue; fi\n"
+"                       if [ \"X$xifound\" = \"X0\" ]; then continue; fi\n"
 "			if [ \"X$p\" = \"X\" ]; then\n"
 "				continue\n"
 "			fi\n"
@@ -1306,7 +1306,7 @@ char find_display[] =
 "                   xifound=1\n"
 "                 fi\n"
 "               done\n"  
-"               if [ \"$xifound\" = "0" ]; then continue; fi\n"
+"               if [ \"X$xifound\" = \"X0\" ]; then continue; fi\n"
 "		seen \"$p\"\n"
 "		if [ \"X$seenret\" = \"X1\" ]; then\n"
 "			continue\n"
