git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix test for command line syntax.
@ 2006-04-08 20:24 Peter Eriksen
  2006-04-08 20:29 ` Peter Eriksen
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Eriksen @ 2006-04-08 20:24 UTC (permalink / raw)
  To: git


Signed-off-by: Peter Eriksen <s022018@student.dtu.dk>


---

 test-delta.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

3e2552fff69fb01249fed53380e24e11754afcdf
diff --git a/test-delta.c b/test-delta.c
index 1be8ee0..94b47f0 100644
--- a/test-delta.c
+++ b/test-delta.c
@@ -27,7 +27,7 @@ int main(int argc, char *argv[])
 	void *from_buf, *data_buf, *out_buf;
 	unsigned long from_size, data_size, out_size;
 
-	if (argc != 5 || (strcmp(argv[1], "-d") && strcmp(argv[1], "-p"))) {
+	if (argc != 5 || (strcmp(argv[1], "-d") || strcmp(argv[1], "-p"))) {
 		fprintf(stderr, "Usage: %s\n", usage);
 		return 1;
 	}
-- 
1.3.0.rc1.g40e9

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix test for command line syntax.
  2006-04-08 20:24 [PATCH] Fix test for command line syntax Peter Eriksen
@ 2006-04-08 20:29 ` Peter Eriksen
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Eriksen @ 2006-04-08 20:29 UTC (permalink / raw)
  To: git

On Sat, Apr 08, 2006 at 10:24:50PM +0200, Peter Eriksen wrote:
> 
> Signed-off-by: Peter Eriksen <s022018@student.dtu.dk>
> 
> 
> ---
> 
>  test-delta.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Please ignore this.  Sorry for the noise.

Peter

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-08 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-08 20:24 [PATCH] Fix test for command line syntax Peter Eriksen
2006-04-08 20:29 ` Peter Eriksen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).