Hi, On Tue, 29 Nov 2005, Jan Andres wrote: > - lock->token = xmalloc(strlen(ctx->cdata - 15)); > + lock->token = xmalloc(strlen(ctx->cdata) - 15); > strcpy(lock->token, ctx->cdata + 16); Why not + lock->token = xmalloc(strlen(ctx->cdata + 16)); Ciao, Dscho - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Tue Nov 29 19:25:23 2005
This archive was generated by hypermail 2.1.8 : 2005-11-29 19:25:58 EST