[hackers] ii: new tip (= 42)

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Mon, 29 Jan 2007 13:50:02 +0100

changeset: 42:f58875ebfa90b7e1927333b5e05c538c70279dd0
tag: tip
user: Nico Golde <nion_AT_suckless.org>
date: Mon Jan 29 13:48:15 2007 +0100
files: ii.c
description:
right fix at the wrong place reverted

diff -r 7c5012cbd480 ii.c
--- a/ii.c Mon Jan 29 13:35:55 2007 +0100
+++ b/ii.c Tue Jan 16 16:00:02 2007 +0100
@@ -318,7 +318,7 @@ static void proc_server_cmd(char *buf)
            <crlf> ::= CR LF
          */
         if(buf[0] == ':') { /* check prefix */
- if (!(p = strchr(buf, ' '))) return;
+ p = strchr(buf, ' ');
                 *p = 0;
                 for(++p; *p == ' '; p++);
                 cmd = p;
Received on Mon Jan 29 2007 - 13:50:02 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:54:45 UTC