--- xsnap-1.3/xsnap.c.orig 2004-04-23 00:00:48.323212832 +0200 +++ xsnap-1.3/xsnap.c 2004-04-23 00:01:15.564071592 +0200 @@ -17,6 +17,7 @@ */ #include +#include #include #include #include @@ -693,7 +694,7 @@ int i, notfound; struct stat buf; - if (*filename = '?') + if (*filename == '?') { i=0; notfound=0;