Hi!

I've tried to add msg_id in output of search.cgi:
line ~435 of search.c

        UdmReplaceIntVar(Env->vars,"DN",Doc->order,UDM_VARSRC_GLOBAL);
+      UdmReplaceStrVar(Env->vars,"DID",Doc->message_id,UDM_VARSRC_GLOBAL);
        UdmTime_t2HttpStr(Doc->last_mod_time,last_mod);

Also appropriate in search.htm:
<!--res-->
<DL><DT>
<b>$(DN).</b> <a href="$(DU)" TARGET="_blank"><b>$&(DT)</b></a>
[<b>$(DR)</b>]<DD>
$&(DX)... A$&(DID)A<BR>
<UL>

But this does not work, the $(DID) expands to empty string, has someone
tried this?

Second thought: why are you talking w/ inn by many recv's (proto.c)
fdgets(char * str,int size,int fd)
[...]
  if(!recv(fd,str+nbytes,1,0)){
Wouln't be better to 'fdopen' and work on FILE* ?

Best Regards.



-- 
Krzysztof Drewicz
[EMAIL PROTECTED]
Unfortunately, no one can be told what the Mac is like.
You have to see it for yourself.

___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to