Project

General

Profile

Revision 5e8f735d

ID5e8f735dfb80ed8cb3df58aff1d5641b0ce5501a
Parent f3599378
Child 5e03b78d

Added by Thomas Mullins almost 11 years ago

Changed URLs to match actual server

View differences:

mainbox/query.c
74 74
  if (handle == NULL)
75 75
    return 0;
76 76

  
77
  sprintf(url, "http://%s/roboauth/%08x/%d/", server, user_id, tool_id);
77
  sprintf(url, "http://%s/crm/roboauth/%08x/%d/", server, user_id, tool_id);
78 78
  error_code = curl_easy_setopt(handle, CURLOPT_URL, url);
79 79
  if (error_code) goto error;
80 80

  
......
124 124
  struct tm *timeinfo;
125 125
  long response = 0;
126 126

  
127
  return 0;
128

  
127 129
#ifdef DEBUG_EVENT_RESPONSE
128 130
  FILE *fdebug;
129 131
  fdebug = fopen("debug.html", "w");
......
174 176
      CURLFORM_COPYCONTENTS, event->succ? "1" : "0",
175 177
      CURLFORM_END);
176 178

  
177
  sprintf(buf, "https://%s/add_card_event/", server);
178
  //sprintf(buf, "http://%s/add_card_event/", server);
179
  sprintf(buf, "https://%s/crm/add_card_event/", server);
180
  //sprintf(buf, "http://%s/crm/add_card_event/", server);
179 181
  error_code = curl_easy_setopt(handle, CURLOPT_URL, buf);
180 182
  if (error_code) goto error;
181 183

  

Also available in: Unified diff