tpop3d-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tpop3d-discuss] quick question


From: Nancy Pettigrew (work)
Subject: [tpop3d-discuss] quick question
Date: Thu, 21 Jun 2001 14:18:21 -0700

Hi -

I need to modify the auth_mysql.c to suit different authentication tables,
so I've been perusing the auth_mysql_new_user_pass function in auth_mysql.c.
Just curious about 1 line of code right now, line 446:
    query = (char*)malloc(l = (sizeof(user_pass_query_template) +
strlen(user) * 2 + 1 + 34));
Just curious as to the origin of the * 2 + 1 + 34 in the malloc - why those
numbers, specifically?

Thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]